feat: Create Syscohada chart of accounts for affiliated African countries #43999
+7,210
−1,560
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SYSCOHADA is the accounting system and financial reporting currently adopted by 17 African countries. It provides a standardized framework to enhance transparency and comparability in financial statements for businesses in these regions.
This PR aims at adding this standardized chart of accounts into ERPNext so it is usable by said countries.
If possible, these changes should be backported.
References :
Files added:
Generic chart of accounts with code
erpnext/accounts/doctype/account/chart_of_accounts/verified/syscohada_plan_comptable_avec_code.json
Generic chart of accounts
erpnext/accounts/doctype/account/chart_of_accounts/verified/syscohada_plan_comptable.json
Helper to generate individual files for all affiliated countries by specifying country name where applicable
erpnext/accounts/doctype/account/chart_of_accounts/verified/syscohada_chart_of_accounts.py
Helper that will run previous python file to generate charts files for each country whenever the generic ones are updated, then commit the updated files and create a PR to integrate the new files to the repo.
.github/helper/update_syscohada_charts.sh
The files generated for each country will look like: country_plan_comptable.json or country_plan_comptable_avec_code.json
.github/workflows/generate_syscohada_charts.yml
Files deleted :
Unverified chart file for syscohada
erpnext/accounts/doctype/account/chart_of_accounts/unverified/syscohada_syscohada_chart_template.json
Screenshots :
Setup Wizard:
Company:
no-docs