Odoo18-Base/addons/l10n_be_pos_restaurant/__init__.py
2025-01-06 10:57:38 +07:00

10 lines
413 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%')], order="parent_path"):
Template = env['account.chart.template'].with_company(company)
Template._load_data({
'account.tax': Template._get_be_pos_restaurant_account_tax(),
})