[IMP] Hide progressbar field in the form view if the state is cancel
bzr revid: hip@tinyerp.com-20121029095229-ib4p268px6rx8f0o
This commit is contained in:
parent
a47b6b8c0a
commit
ae922702f6
|
@ -392,7 +392,7 @@
|
|||
states="draft,open,pending" groups="base.group_user"/>
|
||||
<button name="do_cancel" string="Cancel Task" type="object"
|
||||
states="draft,open,pending" groups="base.group_user"/>
|
||||
<field name="stage_id" widget="statusbar" clickable="True"/>
|
||||
<field name="stage_id" widget="statusbar" clickable="True" attrs="{'invisible':[('state','in',['cancelled'])]}"/>
|
||||
</header>
|
||||
<sheet string="Task">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
|
|
Loading…
Reference in New Issue