while testing Tryton (7.6, docker image) with multi-company and custom charts of accounts, I noticed that one company can end up with two charts of accounts.
What I did:
-
Created a company.
-
Ran “Create chart of accounts from template” with template A → chart A was created.
-
Later installed another template B and ran the same wizard again for the same company, choosing template B.
Result:
-
Under Financial → Configuration → General Account → Accounts I now see two root accounts (A and B) with the same company.
-
Under General Account → Account Types I also see two roots (A and B) with the same company.
-
There are no account moves yet, but:
-
I cannot deactivate the root of chart A,
-
Deleting children gives: “The records could not be deleted because they are used by field ‘Parent’ of ‘Account’.”
-
My questions:
-
Is it intended/supported that one company may have multiple charts of accounts (multiple roots) at the same time?
-
If it is not recommended, should the wizard prevent a second run for the same company or warn the user?
-
What is the recommended way to remove or replace a chart of accounts for a company when there are no moves yet?