1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_account_open_closed_fiscalyear" model="ir.ui.view">
5 <field name="name">account.open.closed.fiscalyear.form</field>
6 <field name="model">account.open.closed.fiscalyear</field>
7 <field name="arch" type="xml">
8 <form string="Cancel Fiscal Year Closing Entries" version="7.0">
9 <separator string="Cancel Fiscal Year Closing Entries"/>
11 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.
14 <field name="fyear_id" domain="[('state','=','draft'), ('end_journal_period_id', '!=', False)]"/>
17 <button string="Cancel Closing Entries" name="remove_entries" type="object" class="oe_highlight"/>
19 <button string="Discard" class="oe_link" special="cancel"/>
25 <record id="action_account_open_closed_fiscalyear" model="ir.actions.act_window">
26 <field name="name">Cancel Closing Entries</field>
27 <field name="res_model">account.open.closed.fiscalyear</field>
28 <field name="view_type">form</field>
29 <field name="view_mode">tree,form</field>
30 <field name="view_id" ref="view_account_open_closed_fiscalyear"/>
31 <field name="target">new</field>
34 <menuitem action="action_account_open_closed_fiscalyear"
35 id="menu_wizard_account_open_closed_fiscalyear"
37 parent="menu_account_end_year_treatments" />