[IMP]Purchase:Remove cancel button from wizard and added active class flow on buttoncd
bzr revid: tch@tinyerp.com-20120618062029-byrsndkcfu5iv34f
This commit is contained in:
parent
0b9a0f3de5
commit
5db031806b
|
@ -913,7 +913,7 @@ class purchase_order_line(osv.osv):
|
|||
|
||||
# - 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
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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="
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue