Files
enterprise-addons/l10n_au_reports/models/account_chart_template.py
T

16 lines
452 B
Python

from odoo.addons.account.models.chart_template import template
from odoo import models
class AccountChartTemplate(models.AbstractModel):
_inherit = 'account.chart.template'
@template('au', 'res.company')
def _get_au_reports_res_company(self):
return {
self.env.company.id: {
'deferred_expense_account_id': 'au_12200',
'deferred_revenue_account_id': 'au_21760',
}
}