[IMP] kept periods on single line
[odoo/odoo.git] / addons / account / wizard / account_fiscalyear_close_state.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="view_account_fiscalyear_close_state" model="ir.ui.view">
5             <field name="name">account.fiscalyear.close.state.form</field>
6             <field name="model">account.fiscalyear.close.state</field>
7             <field name="type">form</field>
8             <field name="arch" type="xml">
9                 <form string="Close states of Fiscal year and periods" version="7.0">
10                 <header>
11                     <button icon="gtk-cancel" special="cancel" string="Cancel"/>
12                     <button icon="terp-locked" string="Close Fiscalyear" name="data_save" type="object"/>
13                 </header>
14                 <separator string="Close states of Fiscal year and periods"/>
15                 <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 "/>
16                 <group>
17                     <field name="fy_id"  domain="[('state','=','draft')]"/>
18                 </group>
19                </form>
20             </field>
21         </record>
22
23         <record id="action_account_fiscalyear_close_state" model="ir.actions.act_window">
24             <field name="name">Close a Fiscal Year</field>
25             <field name="res_model">account.fiscalyear.close.state</field>
26             <field name="view_type">form</field>
27             <field name="view_mode">tree,form</field>
28             <field name="view_id" ref="view_account_fiscalyear_close_state"/>
29             <field name="target">new</field>
30         </record>
31
32         <menuitem action="action_account_fiscalyear_close_state"
33             id="menu_wizard_fy_close_state"
34             sequence="20"
35             parent="menu_account_end_year_treatments" />
36
37     </data>
38 </openerp>