2025-01-06 10:57:38 +07:00
|
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import models
|
|
|
|
|
|
|
|
def post_init_hook(env):
|
2025-03-04 12:23:19 +07:00
|
|
|
for company in env['res.company'].search([('chart_template', '=like', 'be%'), ('parent_id', '=', False)]):
|
2025-01-06 10:57:38 +07:00
|
|
|
Template = env['account.chart.template'].with_company(company)
|
|
|
|
Template._load_data({
|
|
|
|
'account.tax': Template._get_be_pos_restaurant_account_tax(),
|
|
|
|
})
|