summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJigar Amin - OpenERP <jam@tinyerp.com>2012-06-27 19:59:31 +0530
committerJigar Amin - OpenERP <jam@tinyerp.com>2012-06-27 19:59:31 +0530
commitbfb4f471a3befb4028dc70bb1f458fefa533f532 (patch)
tree4b6ebaf9d89d4e43e4bc5606cb14c6b3f442e480
parentb6ec9f8928a3c7ece62322a59aee8ae419c0f0da (diff)
parenta4b94dbee6fe6ec1dd7aaa5f66186a2842d6a101 (diff)
[MERGE] lp:~openerp-commiter/openobject-addons/trunk-red-button-addcancelbutton-rma
bzr revid: jam@tinyerp.com-20120627142931-vfas27ijl6tn4jmd
-rw-r--r--addons/import_google/wizard/import_google_data_view.xml8
-rw-r--r--addons/import_sugarcrm/import_sugarcrm_view.xml7
-rw-r--r--addons/knowledge/res_config_view.xml4
-rw-r--r--addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml4
-rw-r--r--addons/l10n_be/wizard/l10n_be_partner_vat_listing.xml8
-rw-r--r--addons/l10n_be/wizard/l10n_be_vat_intra_view.xml7
-rw-r--r--addons/l10n_ch/wizard/bvr_import_view.xml4
-rw-r--r--addons/l10n_ch/wizard/create_dta_view.xml4
-rw-r--r--addons/l10n_fr/wizard/fr_report_bilan_view.xml4
-rw-r--r--addons/l10n_fr/wizard/fr_report_compute_resultant_view.xml4
-rw-r--r--addons/l10n_lu/wizard/print_vat_view.xml4
-rw-r--r--addons/lunch/wizard/lunch_cashbox_clean_view.xml4
-rw-r--r--addons/lunch/wizard/lunch_order_cancel_view.xml4
-rw-r--r--addons/lunch/wizard/lunch_order_confirm_view.xml4
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml4
-rw-r--r--addons/marketing/res_config_view.xml4
-rw-r--r--addons/membership/wizard/membership_invoice_view.xml4
-rw-r--r--addons/mrp/res_config_view.xml3
-rw-r--r--addons/mrp/wizard/change_production_qty_view.xml4
-rw-r--r--addons/mrp/wizard/mrp_price_view.xml4
-rw-r--r--addons/mrp/wizard/mrp_product_produce_view.xml4
-rw-r--r--addons/mrp/wizard/mrp_workcenter_load_view.xml4
-rw-r--r--addons/mrp_repair/wizard/cancel_repair.py4
-rw-r--r--addons/mrp_repair/wizard/mrp_repair_cancel_view.xml4
-rw-r--r--addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_box_entries.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_box_out.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_close_statement.xml6
-rw-r--r--addons/point_of_sale/wizard/pos_confirm.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_details.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_discount.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_open_statement.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_payment.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_payment_report.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_payment_report_user.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_receipt_view.xml4
-rw-r--r--addons/point_of_sale/wizard/pos_return_view.xml4
-rw-r--r--addons/portal/wizard/portal_wizard_view.xml4
-rw-r--r--addons/procurement/wizard/make_procurement_view.xml4
-rw-r--r--addons/procurement/wizard/mrp_procurement_view.xml4
-rw-r--r--addons/procurement/wizard/orderpoint_procurement_view.xml4
-rw-r--r--addons/procurement/wizard/schedulers_all_view.xml4
-rw-r--r--addons/product/wizard/product_price_view.xml4
-rw-r--r--addons/product_margin/wizard/product_margin_view.xml4
44 files changed, 142 insertions, 49 deletions
diff --git a/addons/import_google/wizard/import_google_data_view.xml b/addons/import_google/wizard/import_google_data_view.xml
index 6b69f9130e8..ef2bd952a62 100644
--- a/addons/import_google/wizard/import_google_data_view.xml
+++ b/addons/import_google/wizard/import_google_data_view.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Import contacts from a google account" version="7.0">
<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>
<group colspan="4" col="4" width="430">
<field name="group_name" colspan="4"/>
@@ -34,7 +36,9 @@
<field name="arch" type="xml">
<form string="Import Google Calendar Events" version="7.0">
<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>
<group colspan="4" col="4" width="320">
<field name="calendar_name" />
diff --git a/addons/import_sugarcrm/import_sugarcrm_view.xml b/addons/import_sugarcrm/import_sugarcrm_view.xml
index c6e7ce170cf..c6239e7c709 100644
--- a/addons/import_sugarcrm/import_sugarcrm_view.xml
+++ b/addons/import_sugarcrm/import_sugarcrm_view.xml
@@ -10,8 +10,11 @@
<field name="arch" type="xml">
<form string="Import Data From SugarCRM" version="7.0">
<header>
- <button name="import_from_scheduler_all" string="_Schedule Recurrent Imports" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" />
- <button name="import_all" string="_Import" type="object" icon="terp-camera_test" class="oe_highlight_on_dirty" />
+ <button name="import_from_scheduler_all" string="_Schedule Recurrent Imports" type="object" 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>
<group col="8" >
<group colspan="2" col="2" width="200">
diff --git a/addons/knowledge/res_config_view.xml b/addons/knowledge/res_config_view.xml
index 80d13e6283a..a478d044266 100644
--- a/addons/knowledge/res_config_view.xml
+++ b/addons/knowledge/res_config_view.xml
@@ -9,7 +9,9 @@
<form string="Configure Knowledge" version="7.0">
<header>
<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>
<sheet>
<group>
diff --git a/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml b/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml
index 1cfb7112ada..1235306b94e 100644
--- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml
+++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Periodical VAT Declaration" version="7.0">
<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>
<group>
<group string="Declare Periodical VAT">
diff --git a/addons/l10n_be/wizard/l10n_be_partner_vat_listing.xml b/addons/l10n_be/wizard/l10n_be_partner_vat_listing.xml
index bb8ca72eaff..f60c47d0cd7 100644
--- a/addons/l10n_be/wizard/l10n_be_partner_vat_listing.xml
+++ b/addons/l10n_be/wizard/l10n_be_partner_vat_listing.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Partner VAT Listing" version="7.0">
<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>
<group>
<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">
<form string="XML File has been Created." version="7.0">
<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>
<separator string="XML File has been Created." colspan="4"/>
<label string="Save the File with '.xml' extension." colspan="4" nolabel="1"/>
diff --git a/addons/l10n_be/wizard/l10n_be_vat_intra_view.xml b/addons/l10n_be/wizard/l10n_be_vat_intra_view.xml
index d0c694b5bf5..e416b2859fa 100644
--- a/addons/l10n_be/wizard/l10n_be_vat_intra_view.xml
+++ b/addons/l10n_be/wizard/l10n_be_vat_intra_view.xml
@@ -9,8 +9,11 @@
<field name="arch" type="xml">
<form string="Partner VAT intra" version="7.0">
<header>
- <button name="create_xml" string="Create _XML" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" />
- <button name="preview" string="_Preview" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
+ <button name="create_xml" string="Create _XML" type="object" 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>
<group>
<separator string="Intracom VAT Declaration"/>
diff --git a/addons/l10n_ch/wizard/bvr_import_view.xml b/addons/l10n_ch/wizard/bvr_import_view.xml
index 37858e77da8..66b45f4a9f9 100644
--- a/addons/l10n_ch/wizard/bvr_import_view.xml
+++ b/addons/l10n_ch/wizard/bvr_import_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="BVR Import" version="7.0">
<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>
<group>
<field name="file"/>
diff --git a/addons/l10n_ch/wizard/create_dta_view.xml b/addons/l10n_ch/wizard/create_dta_view.xml
index 1f8237d04a9..d5ee2a91288 100644
--- a/addons/l10n_ch/wizard/create_dta_view.xml
+++ b/addons/l10n_ch/wizard/create_dta_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="DTA file creation - Results" version="7.0">
<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>
<group>
<field name="dta_file"/>
diff --git a/addons/l10n_fr/wizard/fr_report_bilan_view.xml b/addons/l10n_fr/wizard/fr_report_bilan_view.xml
index acff0988676..f816f921754 100644
--- a/addons/l10n_fr/wizard/fr_report_bilan_view.xml
+++ b/addons/l10n_fr/wizard/fr_report_bilan_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Bilan Report" version="7.0">
<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>
<group>
<field name="fiscalyear_id"/>
diff --git a/addons/l10n_fr/wizard/fr_report_compute_resultant_view.xml b/addons/l10n_fr/wizard/fr_report_compute_resultant_view.xml
index c23376db97e..fe0418c6f8b 100644
--- a/addons/l10n_fr/wizard/fr_report_compute_resultant_view.xml
+++ b/addons/l10n_fr/wizard/fr_report_compute_resultant_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string='Compte de resultat' version="7.0">
<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>
<group>
<field name="fiscalyear_id"/>
diff --git a/addons/l10n_lu/wizard/print_vat_view.xml b/addons/l10n_lu/wizard/print_vat_view.xml
index 2d4c43703a9..695394df7b5 100644
--- a/addons/l10n_lu/wizard/print_vat_view.xml
+++ b/addons/l10n_lu/wizard/print_vat_view.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Print Tax Statements" version="7.0">
<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>
<group col="4">
<field name="tax_code_id" widget="selection"/>
diff --git a/addons/lunch/wizard/lunch_cashbox_clean_view.xml b/addons/lunch/wizard/lunch_cashbox_clean_view.xml
index 25db235a33b..98dea7a245c 100644
--- a/addons/lunch/wizard/lunch_cashbox_clean_view.xml
+++ b/addons/lunch/wizard/lunch_cashbox_clean_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Reset cashbox" version="7.0">
<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>
<group>
<label string="Are you sure you want to reset this cashbox ?"/>
diff --git a/addons/lunch/wizard/lunch_order_cancel_view.xml b/addons/lunch/wizard/lunch_order_cancel_view.xml
index 8001c1b7c6d..ec8f04cc3c2 100644
--- a/addons/lunch/wizard/lunch_order_cancel_view.xml
+++ b/addons/lunch/wizard/lunch_order_cancel_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Cancel Order" version="7.0">
<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>
<group col="4" >
<label string="Are you sure you want to cancel this order ?"/>
diff --git a/addons/lunch/wizard/lunch_order_confirm_view.xml b/addons/lunch/wizard/lunch_order_confirm_view.xml
index 7a9610e7a02..ae70a5d16a0 100644
--- a/addons/lunch/wizard/lunch_order_confirm_view.xml
+++ b/addons/lunch/wizard/lunch_order_confirm_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Confirm" version="7.0">
<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>
<group col="4">
<separator string="Orders Confirmation" colspan="4"/>
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index bc7ddf244c9..19df1dba860 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Compose Email" version="7.0">
<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>
<group col="6" colspan="4">
<field name="model" invisible="1"/>
diff --git a/addons/marketing/res_config_view.xml b/addons/marketing/res_config_view.xml
index 83053afe614..92e653f182b 100644
--- a/addons/marketing/res_config_view.xml
+++ b/addons/marketing/res_config_view.xml
@@ -9,7 +9,9 @@
<form string="Configure Marketing" version="7.0">
<header>
<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>
<group string="Campaigns">
<field name="module_marketing_campaign"/>
diff --git a/addons/membership/wizard/membership_invoice_view.xml b/addons/membership/wizard/membership_invoice_view.xml
index 43ce6007e12..b64a8d012e1 100644
--- a/addons/membership/wizard/membership_invoice_view.xml
+++ b/addons/membership/wizard/membership_invoice_view.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Membership Invoice" version="7.0">
<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>
<group>
<field name="product_id" domain="[('membership','=',True)]" widget="selection" on_change="onchange_product(product_id)"/>
diff --git a/addons/mrp/res_config_view.xml b/addons/mrp/res_config_view.xml
index da1243452b1..d5b7147ee8b 100644
--- a/addons/mrp/res_config_view.xml
+++ b/addons/mrp/res_config_view.xml
@@ -9,7 +9,8 @@
<form string="Configure Manufacturing" version="7.0">
<header>
<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>
<sheet>
<group string="Manufacturing Order">
diff --git a/addons/mrp/wizard/change_production_qty_view.xml b/addons/mrp/wizard/change_production_qty_view.xml
index 1b99ea5f7ef..4bc5233e94f 100644
--- a/addons/mrp/wizard/change_production_qty_view.xml
+++ b/addons/mrp/wizard/change_production_qty_view.xml
@@ -12,7 +12,9 @@
<form string="Change Product Qty" version="7.0">
<header>
<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>
<group>
<separator string="Change Quantity" colspan="4"/>
diff --git a/addons/mrp/wizard/mrp_price_view.xml b/addons/mrp/wizard/mrp_price_view.xml
index aa6f9b79ea5..be7435750cb 100644
--- a/addons/mrp/wizard/mrp_price_view.xml
+++ b/addons/mrp/wizard/mrp_price_view.xml
@@ -12,7 +12,9 @@
<form string="Product Cost Structure" version="7.0">
<header>
<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>
<group>
<separator colspan="4" string="Print Cost Structure of Product." />
diff --git a/addons/mrp/wizard/mrp_product_produce_view.xml b/addons/mrp/wizard/mrp_product_produce_view.xml
index a8c9c29f418..b1fa6bedde9 100644
--- a/addons/mrp/wizard/mrp_product_produce_view.xml
+++ b/addons/mrp/wizard/mrp_product_produce_view.xml
@@ -13,7 +13,9 @@
<form string="Produce" version="7.0">
<header>
<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>
<group>
<separator string="Produce" colspan="4"/>
diff --git a/addons/mrp/wizard/mrp_workcenter_load_view.xml b/addons/mrp/wizard/mrp_workcenter_load_view.xml
index 6faa9e09dcd..0fbc080bbc4 100644
--- a/addons/mrp/wizard/mrp_workcenter_load_view.xml
+++ b/addons/mrp/wizard/mrp_workcenter_load_view.xml
@@ -12,7 +12,9 @@
<form string="Select time unit" version="7.0">
<header>
<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>
<group>
<sheet layout="auto">
diff --git a/addons/mrp_repair/wizard/cancel_repair.py b/addons/mrp_repair/wizard/cancel_repair.py
index 40388d838c3..33a0c1a0bb5 100644
--- a/addons/mrp_repair/wizard/cancel_repair.py
+++ b/addons/mrp_repair/wizard/cancel_repair.py
@@ -71,7 +71,9 @@ class repair_cancel(osv.osv_memory):
if not repair_order.invoiced:
res['arch'] = """ <form string="Cancel Repair" colspan="4">
<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>
<group col="2" colspan="2">
<label string="Do you want to continue?" colspan="4"/>
diff --git a/addons/mrp_repair/wizard/mrp_repair_cancel_view.xml b/addons/mrp_repair/wizard/mrp_repair_cancel_view.xml
index eb05fa3fd67..592b9f8825b 100644
--- a/addons/mrp_repair/wizard/mrp_repair_cancel_view.xml
+++ b/addons/mrp_repair/wizard/mrp_repair_cancel_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Cancel Repair Order" version="7.0">
<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>
<newline/>
<group>
diff --git a/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml b/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
index f18002f21f4..b7e0febda34 100644
--- a/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
+++ b/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Create invoices" version="7.0">
<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>
<group string="Do you really want to create the invoice(s)?">
<field name="group"/>
diff --git a/addons/point_of_sale/wizard/pos_box_entries.xml b/addons/point_of_sale/wizard/pos_box_entries.xml
index 9402d502394..15d04c8127e 100644
--- a/addons/point_of_sale/wizard/pos_box_entries.xml
+++ b/addons/point_of_sale/wizard/pos_box_entries.xml
@@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Put Money" version="7.0">
<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>
<group>
<separator string="Fill in this form if you put money in the cash register:"/>
diff --git a/addons/point_of_sale/wizard/pos_box_out.xml b/addons/point_of_sale/wizard/pos_box_out.xml
index 91a55a1e42e..c23be7977c0 100644
--- a/addons/point_of_sale/wizard/pos_box_out.xml
+++ b/addons/point_of_sale/wizard/pos_box_out.xml
@@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Output Operation" version="7.0">
<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>
<group col="4" string="Describe why you take money from the cash register:">
<field name="name"/>
diff --git a/addons/point_of_sale/wizard/pos_close_statement.xml b/addons/point_of_sale/wizard/pos_close_statement.xml
index b7c6d100d40..eba2fe09183 100644
--- a/addons/point_of_sale/wizard/pos_close_statement.xml
+++ b/addons/point_of_sale/wizard/pos_close_statement.xml
@@ -11,9 +11,11 @@
<form string="Close Cash Registers" version="7.0">
<header>
<button name="close_statement" string="Yes"
- type="object" icon="gtk-ok" class="oe_highlight_on_dirty" />
- <button icon='gtk-stop' type="object" name="cancel_wizard"
+ type="object" class="oe_highlight_on_dirty" />
+ <button type="object" name="cancel_wizard"
string="No" invisible="not context.get('cancel_action')" class="oe_highlight_on_dirty" />
+ or
+ <button string="Cancel" class="oe_link" special="cancel" />
</header>
<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."/>
diff --git a/addons/point_of_sale/wizard/pos_confirm.xml b/addons/point_of_sale/wizard/pos_confirm.xml
index 85b27f7c4ef..acc9d9e0681 100644
--- a/addons/point_of_sale/wizard/pos_confirm.xml
+++ b/addons/point_of_sale/wizard/pos_confirm.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Post All Orders" version="7.0">
<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>
<separator string="Generate Journal Entries"/>
<label string="Generate all sale journal entries for non invoiced orders linked to a closed cash register or statement."/>
diff --git a/addons/point_of_sale/wizard/pos_details.xml b/addons/point_of_sale/wizard/pos_details.xml
index aeeaf27234a..f4371b74aff 100644
--- a/addons/point_of_sale/wizard/pos_details.xml
+++ b/addons/point_of_sale/wizard/pos_details.xml
@@ -11,7 +11,9 @@
<form string="POS Details" version="7.0">
<header>
<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>
<group col="4" string="Dates">
<field name="date_start"/>
diff --git a/addons/point_of_sale/wizard/pos_discount.xml b/addons/point_of_sale/wizard/pos_discount.xml
index 4c4b4a3f843..126d7b8ff1a 100644
--- a/addons/point_of_sale/wizard/pos_discount.xml
+++ b/addons/point_of_sale/wizard/pos_discount.xml
@@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Apply Discount" version="7.0">
<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>
<group>
<field name="discount"/>
diff --git a/addons/point_of_sale/wizard/pos_open_statement.xml b/addons/point_of_sale/wizard/pos_open_statement.xml
index 3ec352a8a21..a79f0134d77 100644
--- a/addons/point_of_sale/wizard/pos_open_statement.xml
+++ b/addons/point_of_sale/wizard/pos_open_statement.xml
@@ -11,7 +11,9 @@
<form string="Open Statements" version="7.0">
<header>
<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>
<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."/>
diff --git a/addons/point_of_sale/wizard/pos_payment.xml b/addons/point_of_sale/wizard/pos_payment.xml
index 67c4c7d85ba..0513595b8aa 100644
--- a/addons/point_of_sale/wizard/pos_payment.xml
+++ b/addons/point_of_sale/wizard/pos_payment.xml
@@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Add payment :" version="7.0">
<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>
<group col="4">
<field name="journal"/>
diff --git a/addons/point_of_sale/wizard/pos_payment_report.xml b/addons/point_of_sale/wizard/pos_payment_report.xml
index d07500a4460..144fa05b2fc 100644
--- a/addons/point_of_sale/wizard/pos_payment_report.xml
+++ b/addons/point_of_sale/wizard/pos_payment_report.xml
@@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Payment Report" version="7.0">
<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>
</form>
</field>
diff --git a/addons/point_of_sale/wizard/pos_payment_report_user.xml b/addons/point_of_sale/wizard/pos_payment_report_user.xml
index 03a7bdfc733..cda28d1d209 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_user.xml
+++ b/addons/point_of_sale/wizard/pos_payment_report_user.xml
@@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Pyament Report " version="7.0">
<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>
</form>
</field>
diff --git a/addons/point_of_sale/wizard/pos_receipt_view.xml b/addons/point_of_sale/wizard/pos_receipt_view.xml
index 171c41b5ca0..0400b13ec5f 100644
--- a/addons/point_of_sale/wizard/pos_receipt_view.xml
+++ b/addons/point_of_sale/wizard/pos_receipt_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Receipt :" version="7.0">
<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>
<group>
<label string="Print the Receipt of the Sale"/>
diff --git a/addons/point_of_sale/wizard/pos_return_view.xml b/addons/point_of_sale/wizard/pos_return_view.xml
index df56fb5e0a8..9531e5862d5 100644
--- a/addons/point_of_sale/wizard/pos_return_view.xml
+++ b/addons/point_of_sale/wizard/pos_return_view.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Return lines" version="7.0">
<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>
</form>
</field>
diff --git a/addons/portal/wizard/portal_wizard_view.xml b/addons/portal/wizard/portal_wizard_view.xml
index 37e3598994b..7b954bfca4a 100644
--- a/addons/portal/wizard/portal_wizard_view.xml
+++ b/addons/portal/wizard/portal_wizard_view.xml
@@ -19,7 +19,9 @@
<form string="Add Portal Access" version="7.0">
<header>
<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>
<group col="4">
<field name="portal_id" widget="selection"/>
diff --git a/addons/procurement/wizard/make_procurement_view.xml b/addons/procurement/wizard/make_procurement_view.xml
index ea2f4615ac9..c114fd761fb 100644
--- a/addons/procurement/wizard/make_procurement_view.xml
+++ b/addons/procurement/wizard/make_procurement_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Procurement Request" version="7.0">
<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>
<group col="4" string="This wizard will plan the procurement for this product. This procurement may generate task, production orders or purchase orders."/>
<group>
diff --git a/addons/procurement/wizard/mrp_procurement_view.xml b/addons/procurement/wizard/mrp_procurement_view.xml
index cc23b6b15c7..8c69dc2a22f 100644
--- a/addons/procurement/wizard/mrp_procurement_view.xml
+++ b/addons/procurement/wizard/mrp_procurement_view.xml
@@ -12,7 +12,9 @@
<form string="Parameters" version="7.0">
<header>
<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>
<group>
<label string="This wizard will schedule procurements."/>
diff --git a/addons/procurement/wizard/orderpoint_procurement_view.xml b/addons/procurement/wizard/orderpoint_procurement_view.xml
index 5e179b001cb..7fd04f8c35d 100644
--- a/addons/procurement/wizard/orderpoint_procurement_view.xml
+++ b/addons/procurement/wizard/orderpoint_procurement_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Parameters" version="7.0">
<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>
<group>
<label string="Wizard checks all the stock minimum rules and generate procurement order."/>
diff --git a/addons/procurement/wizard/schedulers_all_view.xml b/addons/procurement/wizard/schedulers_all_view.xml
index 1a20fe2a759..fc961fce251 100644
--- a/addons/procurement/wizard/schedulers_all_view.xml
+++ b/addons/procurement/wizard/schedulers_all_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Scheduler Parameters" version="7.0">
<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>
<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"/>
diff --git a/addons/product/wizard/product_price_view.xml b/addons/product/wizard/product_price_view.xml
index 612a5d80055..dded6dbfb94 100644
--- a/addons/product/wizard/product_price_view.xml
+++ b/addons/product/wizard/product_price_view.xml
@@ -11,7 +11,9 @@
<field name="arch" type="xml">
<form string="Price List" version="7.0">
<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>
<group string="Calculate Product Price per Unit Based on Pricelist Version.">
<field name="price_list" widget="selection"/>
diff --git a/addons/product_margin/wizard/product_margin_view.xml b/addons/product_margin/wizard/product_margin_view.xml
index e64eee91d7e..e47fb280d55 100644
--- a/addons/product_margin/wizard/product_margin_view.xml
+++ b/addons/product_margin/wizard/product_margin_view.xml
@@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Properties categories" version="7.0">
<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>
<group col="4" string="General Information">
<field name="from_date" />