Twinkle (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-purchase-tch 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-purchase-tch/+merge/110733
Purchase:
Remove cancel button from wizard and apply active class flow on button.
Kindly review this.
Thank You.
TCH.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-wiz-remove-btn-purchase-tch/+merge/110733
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn.
=== modified file 'purchase/purchase.py'
--- purchase/purchase.py 2012-06-09 19:49:46 +0000
+++ purchase/purchase.py 2012-06-18 06:24:51 +0000
@@ -913,7 +913,7 @@
# - determine product_qty and date_planned based on seller info
if not date_order:
- date_order = fields.date.context_today(cr,uid,context=context)
+ date_order = fields.date.context_today(self,cr,uid,context=context)
qty = qty or 1.0
supplierinfo = False
=== modified file 'purchase/res_config_view.xml'
--- purchase/res_config_view.xml 2012-06-09 19:49:46 +0000
+++ purchase/res_config_view.xml 2012-06-18 06:24:51 +0000
@@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Configure Purchases" version="7.0">
<header>
- <button string="Apply" type="object" name="execute"/>
- <button string="Cancel" special="cancel"/>
+ <button string="Apply" type="object" name="execute" class="oe_form_button_active_flow"/>
</header>
<sheet>
<group col="4">
=== modified file 'purchase/wizard/purchase_line_invoice_view.xml'
--- purchase/wizard/purchase_line_invoice_view.xml 2012-06-09 22:28:49 +0000
+++ purchase/wizard/purchase_line_invoice_view.xml 2012-06-18 06:24:51 +0000
@@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Select an Open Sale Order" version="7.0">
<header>
- <button icon='gtk-cancel' special="cancel" string="Cancel" />
- <button name="makeInvoices" string="Confirm" type="object" icon="gtk-ok" />
+ <button name="makeInvoices" string="Confirm" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<label string="Do you want to generate the supplier invoices?"/>
</form>
=== modified file 'purchase/wizard/purchase_order_group_view.xml'
--- purchase/wizard/purchase_order_group_view.xml 2012-06-09 19:49:46 +0000
+++ purchase/wizard/purchase_order_group_view.xml 2012-06-18 06:24:51 +0000
@@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Merge orders" version="7.0">
<header>
- <button name="merge_orders" string="Merge orders" type="object" icon="gtk-convert"/>
- <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+ <button name="merge_orders" string="Merge orders" type="object" icon="gtk-convert" class="oe_form_button_active_flow"/>
</header>
<separator string="Are you sure you want to merge these orders?"/>
<label string="
=== modified file 'purchase_requisition/wizard/purchase_requisition_partner_view.xml'
--- purchase_requisition/wizard/purchase_requisition_partner_view.xml 2012-06-09 22:28:49 +0000
+++ purchase_requisition/wizard/purchase_requisition_partner_view.xml 2012-06-18 06:24:51 +0000
@@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Purchase Requisition" version="7.0">
<header>
- <button icon="gtk-cancel" special="cancel" string="_Cancel"/>
- <button icon="gtk-ok" name="create_order" string="Create Quotation" type="object"/>
+ <button icon="gtk-ok" name="create_order" string="Create Quotation" type="object" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="partner_id"/>
_______________________________________________
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