Show the Open button when the state is 'draft'

bzr revid: fp@tinyerp.com-20110927160632-72g5f8zuj52rdw0x
This commit is contained in:
Fabien Pinckaers 2011-09-27 18:06:32 +02:00
commit a144926056
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<group col="9" colspan="8">
<field name="state" readonly="1"/>
<button name="set_cancel" string="Cancel" type="object" states="open,pending" icon="gtk-cancel"/>
<button name="set_open" string="Reactivate Account" type="object" states="pending,cancelled,close" icon="gtk-ok"/>
<button name="set_open" string="Reactivate Account" type="object" states="pending,cancelled,close,draft" icon="gtk-ok"/>
<button name="set_pending" string="Pending" type="object" states="open" icon="gtk-media-pause"/>
<button name="set_close" string="Close" type="object" states="open,pending" icon="terp-dialog-close"/>
</group>