[FIX] account: for a given wizard supposed to cancel the opening entries, if to cancel the opening entries of 2012 the user must select the fiscalyear 2011, then the wizard should state 'cancel the closing entries'

bzr revid: qdp-launchpad@openerp.com-20130107140615-x6maqqy1r3t6ozn5
This commit is contained in:
Quentin (OpenERP) 2013-01-07 15:06:15 +01:00
parent 26f5b8b7bf
commit d2a863998e
1 changed files with 4 additions and 4 deletions

View 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>