mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-26 17:02:05 +02:00
18 lines
563 B
Python
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)
|