[REF] account: removed company_id field on account.chart.template
Because that field doesn't have any meaning on a template object...
This commit is contained in:
@@ -94,7 +94,6 @@ class AccountChartTemplate(models.Model):
|
||||
_description = "Templates for Account Chart"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
company_id = fields.Many2one('res.company', string='Company')
|
||||
parent_id = fields.Many2one('account.chart.template', string='Parent Chart Template')
|
||||
code_digits = fields.Integer(string='# of Digits', required=True, default=6, help="No. of Digits to use for account code")
|
||||
visible = fields.Boolean(string='Can be Visible?', default=True,
|
||||
|
||||
@@ -1841,7 +1841,6 @@
|
||||
<form string="Chart of Accounts Template">
|
||||
<group col="4">
|
||||
<field name="name"/>
|
||||
<field name="company_id"/>
|
||||
<field name="parent_id" />
|
||||
<field name="bank_account_code_prefix"/>
|
||||
<field name="cash_account_code_prefix"/>
|
||||
@@ -1888,7 +1887,6 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Chart of Accounts Template">
|
||||
<field name="name"/>
|
||||
<field name="company_id"/>
|
||||
<field name="property_account_receivable_id" invisible="1"/>
|
||||
<field name="property_account_payable_id" invisible="1"/>
|
||||
<field name="property_account_expense_categ_id" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user