Community mailing list archives

community@mail.odoo.com

Avatar

Add a tax to existing CoA with custom module.

by
dxFactory EOOD, Dimitar Epitropov
- 12/04/17 10:24:00

Hi Guys,

Is there a way when there is already loaded Chart of accounts to add additional taxes with the installation of custom module. I am thinking of two approaches, but I find a gap in both.

1. Create new records in account_tax_template as an installation of Localization module would. But this would not load the taxes in account_tax. Is there a way to trigger their loading in account_tax.

2. Create the new records directly in account_tax, but this will only create them for the current company and if new companies are created they won't have the taxes.

Maybe a possible approach is to created them both in account_tax_template and account_tax. This way they will be created for the current company manually and for new companies they will be loaded from account_tax_template

Thanks,

Dimitar

--
Logo

Dimitar Epitropov | Odoo developer
+359 883 356 833

www.dXFactory.eu
Consulting | Project Outsourcing | Software Development