[IMP] lunch: remove cancel button and improved view of wizard.
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Fri, 15 Jun 2012 10:48:30 +0000 (16:18 +0530)
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Fri, 15 Jun 2012 10:48:30 +0000 (16:18 +0530)
bzr revid: tpa@tinyerp.com-20120615104830-qytzsjxzig3cqr7s

addons/lunch/wizard/lunch_cashbox_clean_view.xml
addons/lunch/wizard/lunch_order_cancel_view.xml
addons/lunch/wizard/lunch_order_confirm_view.xml

index c7bf795..5d23d63 100644 (file)
@@ -11,8 +11,7 @@
             <field name="arch" type="xml">
                 <form string="Reset cashbox" version="7.0">
                     <header>
-                        <button  icon="gtk-ok" name="set_to_zero" string="Set to Zero" type="object"/>
-                        <button  icon="gtk-cancel" special="cancel" string="No"/>
+                        <button  icon="gtk-ok" name="set_to_zero" string="Set to Zero" type="object" class="oe_form_button_active_flow"/>
                     </header>
                     <label string="Are you sure you want to reset this cashbox ?"/>
                </form>
index 1bc98f0..155ff05 100644 (file)
@@ -11,8 +11,7 @@
             <field name="arch" type="xml">
                 <form string="Cancel Order" version="7.0">
                     <header>
-                        <button  icon="gtk-ok" name="cancel" string="Yes" type="object"/>
-                        <button  icon="gtk-cancel" special="cancel" string="No"/>
+                        <button  icon="gtk-ok" name="cancel" string="Yes" type="object" class="oe_form_button_active_flow"/>
                     </header>
                     <group col="4" >
                         <label string="Are you sure you want to cancel this order ?"/>
index 9cf41d4..b5b027b 100644 (file)
@@ -11,8 +11,7 @@
             <field name="arch" type="xml">
                 <form string="Confirm" version="7.0">
                     <header>
-                        <button  icon="gtk-ok" name="confirm" string="Confirm Order" type="object"/>
-                        <button  icon="gtk-cancel" special="cancel" string="Cancel"/>
+                        <button  icon="gtk-ok" name="confirm" string="Confirm Order" type="object" class="oe_form_button_active_flow"/>
                     </header>
                     <group col="4">
                          <separator string="Orders Confirmation" colspan="4"/>