Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
db00546
chore: list CSF TZ on the v16 desktop apps screen
av-dev2 Aug 26, 2026
983fec4
chore: attach the Tanzania workspace to the app
av-dev2 Aug 26, 2026
db3c6a0
chore: sort Bank Charges Pattern by creation for the v16 default
av-dev2 Aug 26, 2026
7b316fa
chore: sort CSF API Response Log by creation for the v16 default
av-dev2 Aug 26, 2026
e141d4b
chore: sort CSF TZ Bank Charges by creation for the v16 default
av-dev2 Aug 26, 2026
a6b0288
chore: sort CSF TZ Settings by creation for the v16 default
av-dev2 Aug 26, 2026
5798396
chore: sort EFD Z Report by creation for the v16 default
av-dev2 Aug 26, 2026
ba64c5c
chore: sort Electronic Fiscal Device by creation for the v16 default
av-dev2 Aug 26, 2026
cdd3895
chore: sort Foreign Import Settings by creation for the v16 default
av-dev2 Aug 26, 2026
bb72080
chore: sort Latra Settings by creation for the v16 default
av-dev2 Aug 26, 2026
557a9c6
chore: sort TRA TAX Inv by creation for the v16 default
av-dev2 Aug 26, 2026
b0fda17
chore: sort TZ District by creation for the v16 default
av-dev2 Aug 26, 2026
83e7288
chore: sort TZ Insurance Cover Note by creation for the v16 default
av-dev2 Aug 26, 2026
b596ac1
chore: sort TZ Region by creation for the v16 default
av-dev2 Aug 26, 2026
37bf468
chore: sort TZ Village by creation for the v16 default
av-dev2 Aug 26, 2026
1f92d19
chore: sort TZ Ward by creation for the v16 default
av-dev2 Aug 26, 2026
9b9ed87
chore: sort Vehicle Fine Record by creation for the v16 default
av-dev2 Aug 26, 2026
bf5516b
chore: sort Vehicle Sync Task by creation for the v16 default
av-dev2 Aug 26, 2026
682d374
chore: sort KCB Payments Initiation by creation for the v16 default
av-dev2 Aug 26, 2026
0c5eacd
chore: sort KCB Settings by creation for the v16 default
av-dev2 Aug 26, 2026
77e9d28
chore: sort CSF TZ Biometric Device by creation for the v16 default
av-dev2 Aug 26, 2026
7a1bd82
chore: sort CSF TZ Biometric Log by creation for the v16 default
av-dev2 Aug 26, 2026
c7049a0
chore: sort CSF TZ Biometric User by creation for the v16 default
av-dev2 Aug 26, 2026
a85195e
chore: sort CSF TZ Biometric User Type by creation for the v16 default
av-dev2 Aug 26, 2026
fe1b350
chore: sort CSF TZ Meal Type by creation for the v16 default
av-dev2 Aug 26, 2026
0b2c7d8
chore: sort Bin Setup by creation for the v16 default
av-dev2 Aug 26, 2026
50d7d41
chore: sort Item Number by creation for the v16 default
av-dev2 Aug 26, 2026
41febfe
chore: sort Purchase And Stock Management Test by creation for the v1…
av-dev2 Aug 26, 2026
725e80b
chore: sort Allert Custom by creation for the v16 default
av-dev2 Aug 26, 2026
18af8da
chore: sort Communications by creation for the v16 default
av-dev2 Aug 26, 2026
4b8f5a4
chore: sort Marketing Dept by creation for the v16 default
av-dev2 Aug 26, 2026
46f82d8
chore: sort Past Sales by creation for the v16 default
av-dev2 Aug 26, 2026
8688a28
chore: sort Past Serial No by creation for the v16 default
av-dev2 Aug 26, 2026
f60b6e5
chore: sort Stanbic Payments Initiation by creation for the v16 default
av-dev2 Aug 26, 2026
4dc2fe4
chore: sort Stanbic Setting by creation for the v16 default
av-dev2 Aug 26, 2026
22ef142
chore: sort Simplify VFD Settings by creation for the v16 default
av-dev2 Aug 26, 2026
871d652
chore: sort Total VFD Setting by creation for the v16 default
av-dev2 Aug 26, 2026
ac267ac
chore: sort VFD Provider by creation for the v16 default
av-dev2 Aug 26, 2026
e347e0d
chore: sort VFD Provider Posting by creation for the v16 default
av-dev2 Aug 26, 2026
635236c
chore: sort VFDPlus Settings by creation for the v16 default
av-dev2 Aug 26, 2026
8407fe7
chore: sort Company VFD Provider by creation for the v16 default
av-dev2 Aug 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC"
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC"
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/csf_tz_settings/csf_tz_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/efd_z_report/efd_z_report.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/latra_settings/latra_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 0
Expand Down
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/tra_tax_inv/tra_tax_inv.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/tz_district/tz_district.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"row_format": "Dynamic",
"search_fields": "district",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"title_field": "vehicle",
"track_changes": 1,
Expand Down
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/tz_region/tz_region.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/tz_village/tz_village.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
2 changes: 1 addition & 1 deletion csf_tz/csf_tz/doctype/tz_ward/tz_ward.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"row_format": "Dynamic",
"search_fields": "ward",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"title_field": "vehicle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [
{
Expand Down
3 changes: 2 additions & 1 deletion csf_tz/csf_tz/workspace/tanzania/tanzania.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"app": "csf_tz",
"charts": [],
"content": "[{\"id\":\"tanzaniaHeader\",\"type\":\"header\",\"data\":{\"text\":\"<span class=\\\"h4\\\"><b>Tanzania Tax &amp; Payroll</b></span>\",\"col\":12}},{\"id\":\"tanzaniaSpacer\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"settingsCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Settings\",\"col\":4}},{\"id\":\"vfdIntegrationCard\",\"type\":\"card\",\"data\":{\"card_name\":\"VFD Integration\",\"col\":4}},{\"id\":\"taxSetupCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Tax Setup\",\"col\":4}},{\"id\":\"salesPurchaseCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Sales and Purchase\",\"col\":4}},{\"id\":\"payrollSetupCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Payroll Setup\",\"col\":4}},{\"id\":\"taxReportsCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Tax Reports\",\"col\":4}},{\"id\":\"payrollReportsCard\",\"type\":\"card\",\"data\":{\"card_name\":\"Payroll Reports\",\"col\":4}}]",
"creation": "2025-02-27 09:46:51.663865",
Expand Down Expand Up @@ -514,7 +515,7 @@
"type": "Link"
}
],
"modified": "2026-03-18 16:28:18.980187",
"modified": "2026-08-25 14:55:00.000000",
"modified_by": "Administrator",
"module": "CSF TZ",
"name": "Tanzania",
Expand Down
9 changes: 9 additions & 0 deletions csf_tz/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
app_license = "GNU General Public License (v3)"
required_apps = ["frappe/erpnext"]

add_to_apps_screen = [
{
"name": app_name,
"logo": "/assets/csf_tz/images/tanzania-workspace.png",
"title": app_title,
"route": "/desk/tanzania",
}
]


# Override Document Class
override_doctype_class = { # nosemgrep: frappe-semgrep-rules.rules.override-doctype-class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
2 changes: 1 addition & 1 deletion csf_tz/kcb/doctype/kcb_settings/kcb_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}
],
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"title_field": "device_nick_name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
}
],
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"title_field": "user_name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}
],
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"title_field": "meal_type"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"track_changes": 1,
"track_seen": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
],
"row_format": "Dynamic",
"rows_threshold_for_grid_search": 20,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
],
"row_format": "Dynamic",
"rows_threshold_for_grid_search": 20,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
}
],
"quick_entry": 1,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
],
"row_format": "Dynamic",
"rows_threshold_for_grid_search": 20,
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"write": 1
}
],
"sort_field": "modified",
"sort_field": "creation",
"sort_order": "DESC",
"states": [],
"track_changes": 1
Expand Down
Loading