← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-4469-stw into lp:openobject-addons

 

Stephane Wirtel (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-4469-stw into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-4469-stw/+merge/52980

Show the "Open" button when the state is 'draft'
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-4469-stw/+merge/52980
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-4469-stw.
=== modified file 'hr_timesheet_invoice/hr_timesheet_invoice_view.xml'
--- hr_timesheet_invoice/hr_timesheet_invoice_view.xml	2011-01-14 00:11:01 +0000
+++ hr_timesheet_invoice/hr_timesheet_invoice_view.xml	2011-03-11 08:07:33 +0000
@@ -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>


Follow ups