mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-25 00:12:02 +02:00
10 lines
361 B
Python
10 lines
361 B
Python
from odoo import models
|
|
|
|
|
|
class AccountChartTemplate(models.AbstractModel):
|
|
_inherit = 'account.chart.template'
|
|
|
|
def _get_property_accounts(self, additional_properties):
|
|
property_accounts = super()._get_property_accounts(additional_properties)
|
|
property_accounts['downpayment_account_id'] = 'res.company'
|
|
return property_accounts
|