[USA] add cancel button

bzr revid: rma@tinyerp.com-20120627141917-bs9bg2j3dasy9n1y
This commit is contained in:
Randhir Mayatra (OpenERP) 2012-06-27 19:49:17 +05:30
parent 942b330cde
commit a4b94dbee6
44 changed files with 143 additions and 49 deletions

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Import contacts from a google account" version="7.0"> <form string="Import contacts from a google account" version="7.0">
<header> <header>
<button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+" class="oe_highlight_on_dirty" /> <button name="import_google" string="_Import Contacts" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group colspan="4" col="4" width="430"> <group colspan="4" col="4" width="430">
<field name="group_name" colspan="4"/> <field name="group_name" colspan="4"/>
@ -34,7 +36,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Import Google Calendar Events" version="7.0"> <form string="Import Google Calendar Events" version="7.0">
<header> <header>
<button name="import_google" string="_Import Events" type="object" icon="terp-calendar" class="oe_highlight_on_dirty" /> <button name="import_google" string="_Import Events" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group colspan="4" col="4" width="320"> <group colspan="4" col="4" width="320">
<field name="calendar_name" /> <field name="calendar_name" />

View File

@ -10,8 +10,11 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Import Data From SugarCRM" version="7.0"> <form string="Import Data From SugarCRM" version="7.0">
<header> <header>
<button name="import_from_scheduler_all" string="_Schedule Recurrent Imports" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" /> <button name="import_from_scheduler_all" string="_Schedule Recurrent Imports" type="object" class="oe_highlight_on_dirty" />
<button name="import_all" string="_Import" type="object" icon="terp-camera_test" class="oe_highlight_on_dirty" /> or
<button name="import_all" string="_Import" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="8" > <group col="8" >
<group colspan="2" col="2" width="200"> <group colspan="2" col="2" width="200">

View File

@ -9,7 +9,9 @@
<form string="Configure Knowledge" version="7.0"> <form string="Configure Knowledge" version="7.0">
<header> <header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/> <button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" type="object" name="cancel"/> or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header> </header>
<sheet> <sheet>
<group> <group>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Periodical VAT Declaration" version="7.0"> <form string="Periodical VAT Declaration" version="7.0">
<header> <header>
<button icon="gtk-execute" name="create_xml" string="Create XML" type="object" default_focus="1" class="oe_highlight_on_dirty" /> <button name="create_xml" string="Create XML" type="object" default_focus="1" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<group string="Declare Periodical VAT"> <group string="Declare Periodical VAT">

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Partner VAT Listing" version="7.0"> <form string="Partner VAT Listing" version="7.0">
<header> <header>
<button name="get_partner" string="View Customers" type="object" icon="terp-partner" class="oe_highlight_on_dirty" /> <button name="get_partner" string="View Customers" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<label string="This wizard will create an XML file for VAT details and total invoiced amounts per partner." colspan="4"/> <label string="This wizard will create an XML file for VAT details and total invoiced amounts per partner." colspan="4"/>
@ -66,7 +68,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="XML File has been Created." version="7.0"> <form string="XML File has been Created." version="7.0">
<header> <header>
<button name="print_vatlist" string="Print" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> <button name="print_vatlist" string="Print" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<separator string="XML File has been Created." colspan="4"/> <separator string="XML File has been Created." colspan="4"/>
<label string="Save the File with '.xml' extension." colspan="4" nolabel="1"/> <label string="Save the File with '.xml' extension." colspan="4" nolabel="1"/>

View File

@ -9,8 +9,11 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Partner VAT intra" version="7.0"> <form string="Partner VAT intra" version="7.0">
<header> <header>
<button name="create_xml" string="Create _XML" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" /> <button name="create_xml" string="Create _XML" type="object" class="oe_highlight_on_dirty" />
<button name="preview" string="_Preview" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> or
<button name="preview" string="_Preview" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<separator string="Intracom VAT Declaration"/> <separator string="Intracom VAT Declaration"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="BVR Import" version="7.0"> <form string="BVR Import" version="7.0">
<header> <header>
<button name="import_bvr" string="Import" type="object" icon="gtk-ok" colspan="2" class="oe_highlight_on_dirty" /> <button name="import_bvr" string="Import" type="object" colspan="2" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="file"/> <field name="file"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="DTA file creation - Results" version="7.0"> <form string="DTA file creation - Results" version="7.0">
<header> <header>
<button name="create_dta" string="Create DTA" type="object" icon="gtk-execute" colspan="2" class="oe_highlight_on_dirty" /> <button name="create_dta" string="Create DTA" type="object" colspan="2" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="dta_file"/> <field name="dta_file"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Bilan Report" version="7.0"> <form string="Bilan Report" version="7.0">
<header> <header>
<button name="print_bilan_report" string="Print" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="print_bilan_report" string="Print" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="fiscalyear_id"/> <field name="fiscalyear_id"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string='Compte de resultat' version="7.0"> <form string='Compte de resultat' version="7.0">
<header> <header>
<button name="print_cdr_report" string="Print" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="print_cdr_report" string="Print" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="fiscalyear_id"/> <field name="fiscalyear_id"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Print Tax Statements" version="7.0"> <form string="Print Tax Statements" version="7.0">
<header> <header>
<button name="print_vat_declaration_report" string="Print Tax Statements" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="print_vat_declaration_report" string="Print Tax Statements" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4"> <group col="4">
<field name="tax_code_id" widget="selection"/> <field name="tax_code_id" widget="selection"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Reset cashbox" version="7.0"> <form string="Reset cashbox" version="7.0">
<header> <header>
<button icon="gtk-ok" name="set_to_zero" string="Set to Zero" type="object" class="oe_highlight_on_dirty" /> <button name="set_to_zero" string="Set to Zero" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<label string="Are you sure you want to reset this cashbox ?"/> <label string="Are you sure you want to reset this cashbox ?"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cancel Order" version="7.0"> <form string="Cancel Order" version="7.0">
<header> <header>
<button icon="gtk-ok" name="cancel" string="Yes" type="object" class="oe_highlight_on_dirty" /> <button name="cancel" string="Yes" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4" > <group col="4" >
<label string="Are you sure you want to cancel this order ?"/> <label string="Are you sure you want to cancel this order ?"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Confirm" version="7.0"> <form string="Confirm" version="7.0">
<header> <header>
<button icon="gtk-ok" name="confirm" string="Confirm Order" type="object" class="oe_highlight_on_dirty" /> <button name="confirm" string="Confirm Order" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4"> <group col="4">
<separator string="Orders Confirmation" colspan="4"/> <separator string="Orders Confirmation" colspan="4"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Compose Email" version="7.0"> <form string="Compose Email" version="7.0">
<header> <header>
<button icon="gtk-ok" name="send_mail" string="Send" type="object" class="oe_highlight_on_dirty" /> <button name="send_mail" string="Send" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="6" colspan="4"> <group col="6" colspan="4">
<field name="model" invisible="1"/> <field name="model" invisible="1"/>

View File

@ -9,7 +9,9 @@
<form string="Configure Marketing" version="7.0"> <form string="Configure Marketing" version="7.0">
<header> <header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/> <button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" type="object" name="cancel"/> or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header> </header>
<group string="Campaigns"> <group string="Campaigns">
<field name="module_marketing_campaign"/> <field name="module_marketing_campaign"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Membership Invoice" version="7.0"> <form string="Membership Invoice" version="7.0">
<header> <header>
<button icon="gtk-apply" string="Join" name="membership_invoice" type="object" class="oe_highlight_on_dirty" /> <button string="Join" name="membership_invoice" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="product_id" domain="[('membership','=',True)]" widget="selection" on_change="onchange_product(product_id)"/> <field name="product_id" domain="[('membership','=',True)]" widget="selection" on_change="onchange_product(product_id)"/>

View File

@ -9,7 +9,8 @@
<form string="Configure Manufacturing" version="7.0"> <form string="Configure Manufacturing" version="7.0">
<header> <header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/> <button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" type="object" name="cancel"/> or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header> </header>
<sheet> <sheet>
<group string="Manufacturing Order"> <group string="Manufacturing Order">

View File

@ -12,7 +12,9 @@
<form string="Change Product Qty" version="7.0"> <form string="Change Product Qty" version="7.0">
<header> <header>
<button name="change_prod_qty" string="Approve" <button name="change_prod_qty" string="Approve"
colspan="1" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<separator string="Change Quantity" colspan="4"/> <separator string="Change Quantity" colspan="4"/>

View File

@ -12,7 +12,9 @@
<form string="Product Cost Structure" version="7.0"> <form string="Product Cost Structure" version="7.0">
<header> <header>
<button name="print_report" string="Print" <button name="print_report" string="Print"
colspan="1" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<separator colspan="4" string="Print Cost Structure of Product." /> <separator colspan="4" string="Print Cost Structure of Product." />

View File

@ -13,7 +13,9 @@
<form string="Produce" version="7.0"> <form string="Produce" version="7.0">
<header> <header>
<button name="do_produce" string="Confirm" <button name="do_produce" string="Confirm"
colspan="1" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<separator string="Produce" colspan="4"/> <separator string="Produce" colspan="4"/>

View File

@ -12,7 +12,9 @@
<form string="Select time unit" version="7.0"> <form string="Select time unit" version="7.0">
<header> <header>
<button name="print_report" string="Print" <button name="print_report" string="Print"
colspan="1" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<sheet layout="auto"> <sheet layout="auto">

View File

@ -71,7 +71,9 @@ class repair_cancel(osv.osv_memory):
if not repair_order.invoiced: if not repair_order.invoiced:
res['arch'] = """ <form string="Cancel Repair" colspan="4"> res['arch'] = """ <form string="Cancel Repair" colspan="4">
<header> <header>
<button name="cancel_repair" string="_Yes" type="object" icon="gtk-ok" class="oe_highlight_on_dirty"/> <button name="cancel_repair" string="_Yes" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="2" colspan="2"> <group col="2" colspan="2">
<label string="Do you want to continue?" colspan="4"/> <label string="Do you want to continue?" colspan="4"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cancel Repair Order" version="7.0"> <form string="Cancel Repair Order" version="7.0">
<header> <header>
<button name="cancel_repair" string="Yes" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="cancel_repair" string="Yes" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<newline/> <newline/>
<group> <group>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Create invoices" version="7.0"> <form string="Create invoices" version="7.0">
<header> <header>
<button name="make_invoices" string="Create Invoice" type="object" icon="terp-gtk-go-back-rtl" class="oe_highlight_on_dirty" /> <button name="make_invoices" string="Create Invoice" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group string="Do you really want to create the invoice(s)?"> <group string="Do you really want to create the invoice(s)?">
<field name="group"/> <field name="group"/>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Put Money" version="7.0"> <form string="Put Money" version="7.0">
<header> <header>
<button name="get_in" string="Put Money" type="object" icon="gtk-apply" class="oe_highlight_on_dirty" /> <button name="get_in" string="Put Money" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<separator string="Fill in this form if you put money in the cash register:"/> <separator string="Fill in this form if you put money in the cash register:"/>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Output Operation" version="7.0"> <form string="Output Operation" version="7.0">
<header> <header>
<button name="get_out" string="Take Money" type="object" icon="gtk-apply" class="oe_highlight_on_dirty" /> <button name="get_out" string="Take Money" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4" string="Describe why you take money from the cash register:"> <group col="4" string="Describe why you take money from the cash register:">
<field name="name"/> <field name="name"/>

View File

@ -11,9 +11,12 @@
<form string="Close Cash Registers" version="7.0"> <form string="Close Cash Registers" version="7.0">
<header> <header>
<button name="close_statement" string="Yes" <button name="close_statement" string="Yes"
type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> type="object" class="oe_highlight_on_dirty" />
<button icon='gtk-stop' type="object" name="cancel_wizard" or
<button type="object" name="cancel_wizard"
string="No" invisible="not context.get('cancel_action')" class="oe_highlight_on_dirty" /> string="No" invisible="not context.get('cancel_action')" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<separator string="Do you want to close your cash registers?"/> <separator string="Do you want to close your cash registers?"/>
<label string="OpenERP will close all cash registers he can close automatically without validation. He will also open all cash registers for which you have to control the ending balance before closing manually."/> <label string="OpenERP will close all cash registers he can close automatically without validation. He will also open all cash registers for which you have to control the ending balance before closing manually."/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Post All Orders" version="7.0"> <form string="Post All Orders" version="7.0">
<header> <header>
<button name="action_confirm" string="Generate Entries" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="action_confirm" string="Generate Entries" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<separator string="Generate Journal Entries"/> <separator string="Generate Journal Entries"/>
<label string="Generate all sale journal entries for non invoiced orders linked to a closed cash register or statement."/> <label string="Generate all sale journal entries for non invoiced orders linked to a closed cash register or statement."/>

View File

@ -11,7 +11,9 @@
<form string="POS Details" version="7.0"> <form string="POS Details" version="7.0">
<header> <header>
<button name="print_report" string="Print Report" <button name="print_report" string="Print Report"
colspan="1" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4" string="Dates"> <group col="4" string="Dates">
<field name="date_start"/> <field name="date_start"/>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Apply Discount" version="7.0"> <form string="Apply Discount" version="7.0">
<header> <header>
<button name="apply_discount" string="Apply Discount" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="apply_discount" string="Apply Discount" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<field name="discount"/> <field name="discount"/>

View File

@ -11,7 +11,9 @@
<form string="Open Statements" version="7.0"> <form string="Open Statements" version="7.0">
<header> <header>
<button name="open_statement" string="Open Registers" <button name="open_statement" string="Open Registers"
type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<separator string="Do you want to open cash registers?"/> <separator string="Do you want to open cash registers?"/>
<label string="The system will open all cash registers, so that you can start recording payments. We suggest you to control the opening balance of each register, using their CashBox tab."/> <label string="The system will open all cash registers, so that you can start recording payments. We suggest you to control the opening balance of each register, using their CashBox tab."/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Add payment :" version="7.0"> <form string="Add payment :" version="7.0">
<header> <header>
<button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply" class="oe_highlight_on_dirty" /> <button name="check" string="Make Payment" colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4"> <group col="4">
<field name="journal"/> <field name="journal"/>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Payment Report" version="7.0"> <form string="Payment Report" version="7.0">
<header> <header>
<button name="print_report" string="Print Report" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> <button name="print_report" string="Print Report" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
</form> </form>
</field> </field>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Pyament Report " version="7.0"> <form string="Pyament Report " version="7.0">
<header> <header>
<button name="print_report" string="Print Report" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> <button name="print_report" string="Print Report" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
</form> </form>
</field> </field>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Receipt :" version="7.0"> <form string="Receipt :" version="7.0">
<header> <header>
<button name="print_report" string="Print Receipt" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> <button name="print_report" string="Print Receipt" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<label string="Print the Receipt of the Sale"/> <label string="Print the Receipt of the Sale"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Return lines" version="7.0"> <form string="Return lines" version="7.0">
<header> <header>
<button icon='gtk-ok' name= "create_returns" string="Return Products" type="object" class="oe_highlight_on_dirty" /> <button name= "create_returns" string="Return Products" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
</form> </form>
</field> </field>

View File

@ -19,7 +19,9 @@
<form string="Add Portal Access" version="7.0"> <form string="Add Portal Access" version="7.0">
<header> <header>
<button string="Send Invitations" <button string="Send Invitations"
name="action_create" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> name="action_create" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4"> <group col="4">
<field name="portal_id" widget="selection"/> <field name="portal_id" widget="selection"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Procurement Request" version="7.0"> <form string="Procurement Request" version="7.0">
<header> <header>
<button name="make_procurement" string="Ask New Products" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="make_procurement" string="Ask New Products" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4" string="This wizard will plan the procurement for this product. This procurement may generate task, production orders or purchase orders."/> <group col="4" string="This wizard will plan the procurement for this product. This procurement may generate task, production orders or purchase orders."/>
<group> <group>

View File

@ -12,7 +12,9 @@
<form string="Parameters" version="7.0"> <form string="Parameters" version="7.0">
<header> <header>
<button name="procure_calculation" string="Compute Procurements" <button name="procure_calculation" string="Compute Procurements"
type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<label string="This wizard will schedule procurements."/> <label string="This wizard will schedule procurements."/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Parameters" version="7.0"> <form string="Parameters" version="7.0">
<header> <header>
<button name="procure_calculation" string="Compute Stock" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="procure_calculation" string="Compute Stock" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group> <group>
<label string="Wizard checks all the stock minimum rules and generate procurement order."/> <label string="Wizard checks all the stock minimum rules and generate procurement order."/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Scheduler Parameters" version="7.0"> <form string="Scheduler Parameters" version="7.0">
<header> <header>
<button name="procure_calculation" string="Compute Schedulers" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" /> <button name="procure_calculation" string="Compute Schedulers" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing."> <group string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing.">
<field name="automatic"/> <field name="automatic"/>

View File

@ -11,7 +11,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Price List" version="7.0"> <form string="Price List" version="7.0">
<header> <header>
<button name="print_report" string="Print" type="object" icon="gtk-print" class="oe_highlight_on_dirty" /> <button name="print_report" string="Print" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group string="Calculate Product Price per Unit Based on Pricelist Version."> <group string="Calculate Product Price per Unit Based on Pricelist Version.">
<field name="price_list" widget="selection"/> <field name="price_list" widget="selection"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Properties categories" version="7.0"> <form string="Properties categories" version="7.0">
<header> <header>
<button name="action_open_window" string="Open Margins" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" /> <button name="action_open_window" string="Open Margins" type="object" class="oe_highlight_on_dirty" />
or
<button string="Cancel" class="oe_link" special="cancel" />
</header> </header>
<group col="4" string="General Information"> <group col="4" string="General Information">
<field name="from_date" /> <field name="from_date" />