16 lines
472 B
Python
16 lines
472 B
Python
from odoo.addons.account.models.chart_template import template
|
|
from odoo import models
|
|
|
|
|
|
class AccountChartTemplate(models.AbstractModel):
|
|
_inherit = 'account.chart.template'
|
|
|
|
@template('ae', 'res.company')
|
|
def _get_ae_reports_res_company(self):
|
|
return {
|
|
self.env.company.id: {
|
|
'deferred_expense_account_id': 'uae_account_128000',
|
|
'deferred_revenue_account_id': 'uae_account_212000',
|
|
}
|
|
}
|