[FIX] analytic: hide account_type

`account_type` is probably not necessary anymore, but too late to
remove it.
This commit is contained in:
Nicolas Martinelli
2015-09-30 11:32:00 +02:00
parent 28daf5df62
commit d62be72759
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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')
+1 -1
View File
@@ -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>