[IMP] account: bank statement reconciliation widget (part 2)
[odoo/odoo.git] / addons / account / wizard / account_open_closed_fiscalyear_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
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"/>
10                     <p class="oe_grey">
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.
12                     </p>
13                     <group>
14                         <field name="fyear_id" domain="[('state','=','draft'), ('end_journal_period_id', '!=', False)]"/>
15                     </group>
16                     <footer>
17                         <button string="Cancel Closing Entries" name="remove_entries" type="object" class="oe_highlight"/>
18                         or
19                         <button string="Discard" class="oe_link" special="cancel"/>
20                     </footer>
21                 </form>
22             </field>
23         </record>
24
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>
32         </record>
33
34         <menuitem action="action_account_open_closed_fiscalyear"
35             id="menu_wizard_account_open_closed_fiscalyear"
36             sequence="18"
37             parent="menu_account_end_year_treatments" />
38
39     </data>
40 </openerp>