[FIX] hr_timesheet_invoice: show the 'Open' button when the state is draft for the analytic account

bzr revid: stephane@openerp.com-20110310154042-lvg95a7040esff5q
This commit is contained in:
Stephane Wirtel 2011-03-10 16:40:42 +01:00
parent d8da12e8b6
commit 3a53d7d378
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>