[FIX] account: for a given wizard supposed to cancel the opening entries, if to cance...
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Mon, 7 Jan 2013 14:06:15 +0000 (15:06 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Mon, 7 Jan 2013 14:06:15 +0000 (15:06 +0100)
bzr revid: qdp-launchpad@openerp.com-20130107140615-x6maqqy1r3t6ozn5

addons/account/wizard/account_open_closed_fiscalyear_view.xml

index d4cfd39..16ddfc1 100644 (file)
@@ -5,8 +5,8 @@
             <field name="name">account.open.closed.fiscalyear.form</field>
             <field name="model">account.open.closed.fiscalyear</field>
             <field name="arch" type="xml">
-                <form string="Cancel Fiscal Year Opening Entries" version="7.0">
-                    <separator string="Cancel Fiscal Year Opening Entries"/>
+                <form string="Cancel Fiscal Year Closing Entries" version="7.0">
+                    <separator string="Cancel Fiscal Year Closing Entries"/>
                     <p class="oe_grey">
 This wizard will remove the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year.
                     </p>
@@ -14,7 +14,7 @@ This wizard will remove the end of year journal entries of selected fiscal year.
                         <field name="fyear_id" domain="[('state','=','draft'), ('end_journal_period_id', '!=', False)]"/>
                     </group>
                     <footer>
-                        <button string="Cancel Opening Entries" name="remove_entries" type="object" class="oe_highlight"/>
+                        <button string="Cancel Closing Entries" name="remove_entries" type="object" class="oe_highlight"/>
                         or
                         <button string="Discard" class="oe_link" special="cancel"/>
                     </footer>
@@ -23,7 +23,7 @@ This wizard will remove the end of year journal entries of selected fiscal year.
         </record>
 
         <record id="action_account_open_closed_fiscalyear" model="ir.actions.act_window">
-            <field name="name">Cancel Opening Entries</field>
+            <field name="name">Cancel Closing Entries</field>
             <field name="res_model">account.open.closed.fiscalyear</field>
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>