1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_co_edi/__init__.py
2024-12-10 09:04:09 +07:00

14 lines
527 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import wizards
def _l10n_co_edi_post_init(env):
for company in env['res.company'].search([('chart_template', '=', 'co')], order="parent_path"):
Template = env['account.chart.template'].with_company(company)
Template._load_data({
'account.tax': Template._get_co_edi_account_tax(),
'account.tax.group': Template._get_co_edi_account_tax_group(),
})