summaryrefslogtreecommitdiff
path: root/addons/analytic/analytic_view.xml
diff options
context:
space:
mode:
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-06-04 16:03:42 +0530
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-06-04 16:03:42 +0530
commite7f5c1088bbdcaee6a48fe534ec7501ff858c3d5 (patch)
tree55fc7a410271362b58233ffb3c12a0c2b1ed5b8e /addons/analytic/analytic_view.xml
parent6de57c1fbfcef6cf30208bd879918549775da106 (diff)
[IMP]type invible when type is contract and template and project related issues solved
bzr revid: sgo@tinyerp.com-20120604103342-g0pnstp5cexttdb7
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 af5925829dd..4ef37e88b9b 100644
--- a/addons/analytic/analytic_view.xml
+++ b/addons/analytic/analytic_view.xml
@@ -15,7 +15,7 @@
<field name="code"/>
<field name="user_id"/>
<field name="company_id" on_change="on_change_company(company_id)" select="2" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
- <field name="type" select="2"/>
+ <field name="type" select="2" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
<field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
</group>
<notebook colspan="4">