[IMP]Project Invoice:Added Active and return flow on button

bzr revid: tch@tinyerp.com-20120614094442-i0bdl9tat2jz8ix6
This commit is contained in:
Twinkle (OpenERP) 2012-06-14 15:14:42 +05:30
parent a9e1ede277
commit 44a8474d8b
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@
</group>
<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_pending" string="Pending" type="object" states="open" class="oe_form_button_active_flow"/>
<button name="set_close" string="Close" type="object" states="open,pending" class="oe_form_button_active_flow"/>
<button name="set_open" string="Re-open project" type="object" states="pending,cancelled,close,draft" class="oe_form_button_return_flow"/>
<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"}'/>