summaryrefslogtreecommitdiff
path: root/addons/analytic/analytic_view.xml
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-11-29 15:27:12 +0100
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-11-29 15:27:12 +0100
commit81035fea58e6faae45faf763bd01846580903c8b (patch)
tree178eb0e92892e674655fe857e4940e493da84f33 /addons/analytic/analytic_view.xml
parent574f096fcebdb7329dce0d9c59fcfa5e063a4ef2 (diff)
[IMP] analytic: Add the parent field on the template form
bzr revid: qdp-launchpad@openerp.com-20121129142712-yoluy6mxeh7a6ax1
Diffstat (limited to 'addons/analytic/analytic_view.xml')
-rw-r--r--addons/analytic/analytic_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/analytic/analytic_view.xml b/addons/analytic/analytic_view.xml
index 1277d25de71..938078b79e0 100644
--- a/addons/analytic/analytic_view.xml
+++ b/addons/analytic/analytic_view.xml
@@ -28,7 +28,7 @@
<group>
<field name="code"/>
<field name="type" invisible="context.get('default_type', False)"/>
- <field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
+ <field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract'])]}"/>
<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="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
</group>