oca-ocb-l10n_europe/odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_xi.py
Ernad Husremovic 7721452493 19.0 vanilla
2026-03-09 09:31:28 +01:00

18 lines
563 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('xi')
def _get_mc_template_data(self):
return {
'parent': 'uk',
}
def _deref_account_tags(self, template_code, tax_data):
if template_code == 'xi':
template_code = 'uk'
return super()._deref_account_tags(template_code, tax_data)