| 1 | from odoo import models |
| 2 | from odoo.addons.account.models.chart_template import template |
| 3 | |
| 4 | |
| 5 | class AccountChartTemplate(models.AbstractModel): |
| 6 | _inherit = 'account.chart.template' |
| 7 | |
| 8 | @template('es_common_mainland', 'account.tax') |
| 9 | def _get_es_verifactu_account_tax_es_common_mainland(self): |
| 10 | return self._parse_csv('es_common_mainland', 'account.tax', module='l10n_es_edi_verifactu') |
| 11 | |
| 12 | @template('es_canary_common', 'account.tax') |
| 13 | def _get_es_verifactu_account_tax_es_canary_common(self): |
| 14 | return self._parse_csv('es_canary_common', 'account.tax', module='l10n_es_edi_verifactu') |