[IMP] sale: remove cancel button and improved view of wizard.

bzr revid: tpa@tinyerp.com-20120615112642-h7ltxb7lxjuv86cs
This commit is contained in:
Turkesh Patel (Open ERP)
2012-06-15 16:56:42 +05:30
parent 0b9a0f3de5
commit f162fa5c6f
3 changed files with 4 additions and 7 deletions
+1 -2
View File
@@ -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>
+1 -2
View File
@@ -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>
@@ -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)"/>