Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create Syscohada chart of accounts for affiliated African countries #43999

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

n-traore
Copy link

@n-traore n-traore commented Nov 6, 2024

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:

  1. Generic chart of accounts with code
    erpnext/accounts/doctype/account/chart_of_accounts/verified/syscohada_plan_comptable_avec_code.json

  2. Generic chart of accounts
    erpnext/accounts/doctype/account/chart_of_accounts/verified/syscohada_plan_comptable.json

  3. 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

  4. 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

  1. Github Actions workflow to automate the run of bash script
    .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:

setup_wizard

Company:

societe_1

societe_2

societe_3

no-docs

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Nov 6, 2024
@n-traore
Copy link
Author

@ruthra-kumar @deepeshgarg007 When do you think these changes could be integrated ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant