Two charts of accounts

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:

  1. Created a company.

  2. Ran “Create chart of accounts from template” with template A → chart A was created.

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

  1. Is it intended/supported that one company may have multiple charts of accounts (multiple roots) at the same time?

  2. If it is not recommended, should the wizard prevent a second run for the same company or warn the user?

  3. What is the recommended way to remove or replace a chart of accounts for a company when there are no moves yet?

It is the case. The wizard raises a warning if there are already any account defined for the company.

Delete the extra accounts.