1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_ke_edi_oscu/models/template_ke.py
2024-12-10 09:04:09 +07:00

15 lines
525 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
from odoo.addons.account.models.chart_template import template
class AccountChartTemplate(models.AbstractModel):
_inherit = 'account.chart.template'
@template('ke', 'account.tax')
def _get_ke_account_tax_etims_type(self):
"""Apply the OSCU tax type code to the taxes on the tax template."""
additional = self._parse_csv('ke', 'account.tax', module='l10n_ke_edi_oscu')
return additional