mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 06:21:59 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
18
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_xi.py
Normal file
18
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_xi.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue