[FIX] purchase*, sale, share, report_webkit, buton cancel

bzr revid: jam@tinyerp.com-20120627134530-141mzncfffkmjrom
This commit is contained in:
Jigar Amin - OpenERP 2012-06-27 19:15:30 +05:30
parent 10680f35ef
commit 11224704cd
9 changed files with 33 additions and 11 deletions

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Select an Open Sale Order" version="7.0">
<header>
<button name="makeInvoices" string="Confirm" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" />
<button name="makeInvoices" string="Confirm" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<label string="Do you want to generate the supplier invoices?"/>

View File

@ -8,7 +8,9 @@
<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" class="oe_highlight_on_dirty" />
<button name="merge_orders" string="Merge orders" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Are you sure you want to merge these orders?"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Purchase Requisition" version="7.0">
<header>
<button icon="gtk-ok" name="create_order" string="Create Quotation" type="object" class="oe_highlight_on_dirty" />
<button name="create_order" string="Create Quotation" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="partner_id"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Add Print Buttons" col="4" version="7.0">
<header>
<button name="do_action" type="object" string="_Ok" icon="gtk-ok" class="oe_highlight_on_dirty" />
<button name="do_action" type="object" string="_Ok" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="print_button"/>

View File

@ -8,7 +8,9 @@
<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" class="oe_highlight_on_dirty" />
<button name="make_invoices" string="Create Invoices" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<separator string="Do you really want to create the invoice(s)?" />
</form>

View File

@ -8,7 +8,9 @@
<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" class="oe_highlight_on_dirty" />
<button name="make_invoices" string="Create Invoices" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<separator colspan="4" string="Do you really want to create the invoice(s)?" />
<group>

View File

@ -8,8 +8,12 @@
<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}" class="oe_highlight_on_dirty" />
<button name="create_invoices" string="Create and view Invoice" type="object" icon="terp-camera_test" context="{'open_invoices': True}" class="oe_highlight_on_dirty" />
<button name="create_invoices" string="Create Invoice" type="object" context="{'open_invoices': False}" class="oe_highlight_on_dirty" />
or
<button name="create_invoices" string="Create and view Invoice" type="object" context="{'open_invoices': True}" class="oe_highlight_on_dirty" />
or
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4">
<field name="advance_payment_method" on_change="onchange_advance_payment_method(advance_payment_method,product_id)"/>

View File

@ -10,7 +10,9 @@
<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' class="oe_highlight_on_dirty" />
<button name="makeOrder" string="_Create" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4">
<field name="partner_id" required="1"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Sharing: preparation" version="7.0">
<header>
<button name="go_step_1" string="Next" type="object" icon="gtk-go-forward" class="oe_highlight_on_dirty" />
<button name="go_step_1" string="Next" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<separator
string="Please select the action that opens the screen containing the data you want to share."/>
@ -30,7 +32,9 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="go_step_2" string="Share" type="object" icon="gtk-go-forward" class="oe_highlight_on_dirty" />
<button name="go_step_2" string="Share" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="user_type" invisible="1"/>