summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue_view.xml
diff options
context:
space:
mode:
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>2012-05-02 18:20:48 +0530
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>2012-05-02 18:20:48 +0530
commit77847c7ac52e27f2a798e6676f6f884d5bd2c4a5 (patch)
treeab758883361aeab4846c7fe1ec2c776e6d8c91ee /addons/project_issue/project_issue_view.xml
parentbae6dcbe57324f93c704d412f67e6af9e74807df (diff)
[IMP]project_issue: put a attrs on stage field when stage is not there
bzr revid: mma@tinyerp.com-20120502125048-07p7ynwtokeqvcxt
Diffstat (limited to 'addons/project_issue/project_issue_view.xml')
-rw-r--r--addons/project_issue/project_issue_view.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index d3d831f8162..8860641d886 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -62,7 +62,7 @@
</group>
<field name="user_id"/>
<field name="version_id" colspan="2" widget="selection"/>
- <group colspan="2" col="4">
+ <group colspan="2" col="4" attrs="{'invisible': [('type_id','=', False)]}">
<field name="type_id" string="Stages" />
<button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage"/>
<button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage"/>
@@ -132,8 +132,8 @@
<field name="project_id" />
<field name="priority" string="Priority"/>
<field name="type_id" widget="selection" readonly="1" string="Stages" />
- <button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage"/>
- <button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage"/>
+ <button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage" attrs="{'invisible': [('type_id','=', False)]}"/>
+ <button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage" attrs="{'invisible': [('type_id','=', False)]}"/>
<field name="version_id" widget="selection"/>
<field name="user_id"/>
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>