addons/l10n_hr_edi/models/account_chart_template.py
raw| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | from odoo import models |
| 3 | from odoo.addons.account.models.chart_template import template |
| 4 | |
| 5 | |
| 6 | class AccountChartTemplate(models.AbstractModel): |
| 7 | _inherit = 'account.chart.template' |
| 8 | |
| 9 | @template('hr', 'account.tax') |
| 10 | def _get_hr_edi_account_tax(self): |
| 11 | return self._parse_csv('hr', 'account.tax', module='l10n_hr_edi') |