Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-sale-tpa into 
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-wiz-remove-btn-sale-tpa/+merge/110728

[IMP] remove cancel button and improved view of wizard in sale_* modules.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-wiz-remove-btn-sale-tpa/+merge/110728
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn.
=== modified file 'sale/wizard/sale_line_invoice.xml'
--- sale/wizard/sale_line_invoice.xml	2012-06-09 20:31:27 +0000
+++ sale/wizard/sale_line_invoice.xml	2012-06-18 06:18:21 +0000
@@ -8,8 +8,7 @@
             <field name="arch" type="xml">
              <form string="Create invoices" version="7.0">
                 <header>
-                    <button name="make_invoices" string="Create Invoices" type="object" icon="terp-gtk-go-back-rtl"/>
-                    <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                    <button name="make_invoices" string="Create Invoices" type="object" icon="terp-gtk-go-back-rtl" class="oe_form_button_active_flow"/>
                 </header>
                 <separator string="Do you really want to create the invoice(s)?" />
             </form>

=== modified file 'sale/wizard/sale_make_invoice.xml'
--- sale/wizard/sale_make_invoice.xml	2012-06-09 20:31:27 +0000
+++ sale/wizard/sale_make_invoice.xml	2012-06-18 06:18:21 +0000
@@ -8,8 +8,7 @@
             <field name="arch" type="xml">
                 <form string="Create invoices" version="7.0">
                     <header>
-                        <button name="make_invoices" string="Create Invoices" type="object" icon="terp-gtk-go-back-rtl"/>
-                        <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                        <button name="make_invoices" string="Create Invoices" type="object" icon="terp-gtk-go-back-rtl" class="oe_form_button_active_flow"/>
                     </header>
                     <separator colspan="4" string="Do you really want to create the invoice(s)?" />
                     <group>

=== modified file 'sale/wizard/sale_make_invoice_advance.xml'
--- sale/wizard/sale_make_invoice_advance.xml	2012-06-09 22:28:49 +0000
+++ sale/wizard/sale_make_invoice_advance.xml	2012-06-18 06:18:21 +0000
@@ -8,9 +8,8 @@
             <field name="arch" type="xml">
                 <form string="Advance Invoice" version="7.0">
                     <header>
-                        <button name="create_invoices" string="Create Invoice" type="object" icon="gtk-go-forward" context="{'open_invoices': False}"/>
-                        <button name="create_invoices" string="Create and view Invoice" type="object" icon="terp-camera_test" context="{'open_invoices': True}" />
-                        <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                        <button name="create_invoices" string="Create Invoice" type="object" icon="gtk-go-forward" context="{'open_invoices': False}" class="oe_form_button_active_flow"/>
+                        <button name="create_invoices" string="Create and view Invoice" type="object" icon="terp-camera_test" context="{'open_invoices': True}" class="oe_form_button_active_flow"/>
                     </header>
                     <group col="4">
                         <field name="advance_payment_method" on_change="onchange_advance_payment_method(advance_payment_method,product_id)"/>

=== modified file 'sale_crm/wizard/crm_make_sale_view.xml'
--- sale_crm/wizard/crm_make_sale_view.xml	2012-06-09 22:28:49 +0000
+++ sale_crm/wizard/crm_make_sale_view.xml	2012-06-18 06:18:21 +0000
@@ -10,8 +10,7 @@
           <field name="arch" type="xml">
             <form string="Convert to Quotation"  version="7.0">
                 <header>
-                    <button name="makeOrder" string="_Create" type="object" icon='gtk-go-forward'/>
-                    <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                    <button name="makeOrder" string="_Create" type="object" icon='gtk-go-forward' class="oe_form_button_active_flow"/>
                 </header>
                 <group col="4">
                     <field name="partner_id" required="1"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to