Odoo18-Base/addons/l10n_be_pos_restaurant/__init__.py
2025-03-04 12:23:19 +07:00

10 lines
419 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
def post_init_hook(env):
for company in env['res.company'].search([('chart_template', '=like', 'be%'), ('parent_id', '=', False)]):
Template = env['account.chart.template'].with_company(company)
Template._load_data({
'account.tax': Template._get_be_pos_restaurant_account_tax(),
})