[FIX] analytic: hide account_type
`account_type` is probably not necessary anymore, but too late to remove it.
This commit is contained in:
@@ -43,6 +43,7 @@ class account_analytic_account(models.Model):
|
||||
|
||||
name = fields.Char(string='Analytic Account', index=True, required=True, track_visibility='onchange')
|
||||
code = fields.Char(string='Reference', index=True, track_visibility='onchange')
|
||||
# FIXME: account_type is probably not necessary anymore, could be removed in v10
|
||||
account_type = fields.Selection([
|
||||
('normal', 'Analytic View')
|
||||
], string='Type of Account', required=True, default='normal')
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<div name="project"/>
|
||||
<group name="main">
|
||||
<group>
|
||||
<field name="account_type" widget="radio" groups="base.group_no_one"/>
|
||||
<field name="account_type" invisible="1"/>
|
||||
<field name="partner_id"/>
|
||||
</group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user