[IMP] add a state in attrs.
bzr revid: vba@tinyerp.com-20121109115026-0sau6yio1h1hz5j5
This commit is contained in:
parent
8f7be56b02
commit
27885ecc73
|
@ -108,7 +108,7 @@
|
|||
<header>
|
||||
<button name="case_close_with_emp" string="Hire" type="object"
|
||||
class="oe_highlight"
|
||||
attrs="{'invisible':[('emp_id','!=',False)]}"/>
|
||||
attrs="{'invisible':['|',('emp_id','!=',False), ('state','=','cancel')]}"/>
|
||||
<button name="case_cancel" string="Refuse" type="object"
|
||||
states="draft,open,pending" class="oe_highlight"/>
|
||||
<field name="stage_id" widget="statusbar" clickable="True"/>
|
||||
|
|
Loading…
Reference in New Issue