addons/l10n_be_pos_restaurant/__init__.py
raw| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | from . import models |
| 3 | |
| 4 | def post_init_hook(env): |
| 5 | for company in env['res.company'].search([('chart_template', '=like', 'be%'), ('parent_id', '=', False)]): |
| 6 | Template = env['account.chart.template'].with_company(company) |
| 7 | Template._load_data({ |
| 8 | 'account.tax': Template._get_be_pos_restaurant_account_tax(), |
| 9 | }) |