[FIX] analytic: parent of contract form view

unhide the parent_id field in the form view of analytic accounts of type
"contract or project"
Fixes #5513, lp:1237512, opw 598926
This commit is contained in:
Olivier LAURENT 2015-02-27 19:06:01 +01:00 committed by Martin Trigaux
parent eda2736e4c
commit 31194a59fb
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
<field name="type" invisible="context.get('default_type', False)"/>
<field name="template_id" on_change="on_change_template(template_id,context)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
<field name="code"/>
<field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract'])]}"/>
<field name="parent_id" on_change="on_change_parent(parent_id)" />
<field name="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
</group>
</group>