[IMP] add cancel button in wizards.
authorNimesh (Open ERP) <nco@tinyerp.com>
Thu, 28 Jun 2012 09:40:10 +0000 (15:10 +0530)
committerNimesh (Open ERP) <nco@tinyerp.com>
Thu, 28 Jun 2012 09:40:10 +0000 (15:10 +0530)
bzr revid: nco@tinyerp.com-20120628094010-z4dlxcnt5tlt1cwq

addons/account/wizard/account_chart_view.xml
addons/account/wizard/account_fiscalyear_close_state.xml
addons/account/wizard/account_fiscalyear_close_view.xml
addons/account/wizard/account_open_closed_fiscalyear_view.xml
addons/account/wizard/account_subscription_generate_view.xml
addons/account/wizard/account_tax_chart_view.xml
addons/account/wizard/account_use_model_view.xml
addons/account/wizard/account_validate_move_view.xml
addons/account_asset/wizard/wizard_asset_compute_view.xml
addons/account_followup/wizard/account_followup_print_view.xml

index 109fdc5..7bcbe5e 100644 (file)
@@ -9,6 +9,7 @@
                 <form string="Account charts" version="7.0">
                     <header>
                         <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_chart_open_window" type="object"/>
+                        <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
                     </header>
                     <group col="4">
                         <field name="fiscalyear" on_change="onchange_fiscalyear(fiscalyear)"/>
index 5c9e1de..0f116e0 100644 (file)
@@ -9,6 +9,7 @@
                 <form string="Close states of Fiscal year and periods" version="7.0">
                 <header>
                     <button icon="terp-locked" string="Close Fiscal Year" name="data_save" type="object"/>
+                    <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                 </header>
                 <label string ="If no additional entries should be recorded on a fiscal year, you can close it from here. It will close all opened periods in this year that will make impossible any new entry record. Close a fiscal year when you need to finalize your end of year results definitive "/>
                 <group>
index b27a027..5ef53c4 100644 (file)
@@ -9,6 +9,7 @@
                 <form string="Generate Fiscal Year Opening Entries" version="7.0">
                     <header>
                         <button icon="gtk-execute" string="Create" name="data_save" type="object"/>
+                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                     </header>
                     <label string="This wizard will generate the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year: it will simply replace the old opening entries with the new ones."/>
                     <newline/>
index 6df9e84..f672371 100644 (file)
@@ -9,6 +9,7 @@
                 <form string="Choose Fiscal Year " version="7.0">
                     <header>
                         <button icon="terp-gtk-go-back-rtl" string="Open" name="remove_entries" type="object"/>
+                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                     </header>
                     <group>
                         <field name="fyear_id" domain="[('state','=','draft')]"/>
index bd5ba40..961cfa0 100644 (file)
@@ -11,6 +11,7 @@
                     <header>
                         <button icon="gtk-execute" string="Generate Entries"
                             name="action_generate" type="object" />
+                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                     </header>
                     <group>
                         <field name="date"/>
index 8fa4cc8..e0e2698 100644 (file)
@@ -10,6 +10,7 @@
                 <form string="Account tax charts" version="7.0">
                     <header>
                         <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_tax_chart_open_window" type="object" />
+                        <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
                     </header>
                     <group col="4">
                         <field name="period_id"/>
index bf069b3..00eb467 100644 (file)
@@ -10,6 +10,7 @@
             <form string="Create Entries From Models" version="7.0">
                 <header>
                     <button icon="gtk-execute" string="Create Entries" name="create_entries" type="object"/>
+                    <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                 </header>
                 <label string="Create manual recurring entries in a chosen journal."/>
                 <group>
index 8f99125..1f11d40 100644 (file)
@@ -11,6 +11,7 @@
             <form string="Post Journal Entries" version="7.0">
                 <header>
                     <button icon="terp-camera_test" string="Approve" name="validate_move" type="object"/>
+                    <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                 </header>
                 <label string="All draft account entries in this journal and period will be validated. It means you won't be able to modify their accounting fields anymore."/>
                 <group>
index 6c517d5..5e028a4 100644 (file)
@@ -9,6 +9,7 @@
                 <form string="Compute Asset" version="7.0">
                     <header>
                         <button icon="gtk-execute" string="Compute" name="asset_compute" type="object"/>
+                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                     </header>
                     <group>
                         <field name="period_id"/>
index 9f0474c..741fdd9 100644 (file)
@@ -10,6 +10,7 @@
             <form string="Send Follow-Ups" version="7.0">
                 <header>
                     <button name="do_continue" string="Continue" colspan="1" type="object" icon="gtk-ok"/>
+                    <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                 </header>
                 <group col="4">
                     <field name="followup_id"/>
@@ -76,6 +77,7 @@
                 <header>
                     <button name="do_mail" string="Send Mails" colspan="1" type="object" icon="gtk-execute"/>
                     <button name="do_print" string="Print Follow-Ups" colspan="1" type="object" icon="gtk-print"/>
+                    <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                 </header>
                 <notebook>
                     <page string="Partner Selection">