[IMP]:set color the next button that people should press (open, close)
bzr revid: apa@tinyerp.com-20120607071307-csvjy0kvsz80uy6h
This commit is contained in:
parent
9d7e448771
commit
fc5838786c
|
@ -13,10 +13,11 @@
|
|||
</xpath>
|
||||
<xpath expr="/form/sheet" position='before'>
|
||||
<header>
|
||||
<button name="set_pending" string="Pending" type="object" states="open"/>
|
||||
<button name="set_close" string="Close" type="object" states="open,pending"/>
|
||||
<button name="set_open" string="Re-open project" type="object" states="pending,cancelled,close,draft"/>
|
||||
<button name="set_cancel" string="Cancel" type="object" states="open,pending"/>
|
||||
<button name="set_pending" string="Pending" type="object" states="open" class="oe_form_button_hi"/>
|
||||
<button name="set_close" string="Close" type="object" states="open,pending" class="oe_form_button_hi"/>
|
||||
<button name="set_open" string="Re-open project" type="object" states="draft"/>
|
||||
<button name="set_open" string="Re-open project" type="object" states="cancelled,close,pending" class="oe_form_button_hi"/>
|
||||
<button name="set_cancel" string="Cancel" type="object" states="open,pending" />
|
||||
<field name="state" readonly="1" widget="statusbar"
|
||||
statusbar_visible="open,pending,close" statusbar_colors='{"pending":"red", "template":"blue"}'/>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue