[IMP] account, taxes report: added an option to print the detail (accounts) or not
[odoo/odoo.git] / addons / account / wizard / account_fiscalyear_close_state.xml
index c0944dd..5bd537f 100644 (file)
@@ -7,17 +7,15 @@
             <field name="type">form</field>
             <field name="arch" type="xml">
                 <form string="Close states of Fiscal year and periods">
-                    <group colspan="4" >
-                        <field name="fy_id"  domain = "[('state','=','draft')]"/>
-                        <separator string="Are you sure you want to close the fiscal year ?" colspan="4"/>
-                        <field name="sure"/>
-                    </group>
-                    <separator string="" colspan="4" />
-                    <group colspan="4" col="6">
-                        <label string ="" colspan="2"/>
-                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
-                        <button icon="gtk-close" string="Close states" name="data_save" type="object"/>
-                   </group>
+                        <separator string="Close states of Fiscal year and periods" colspan="4" />
+                                               <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 " colspan="4"/>
+                                               <newline/>
+                                               <field name="fy_id"  domain = "[('state','=','draft')]" colspan="4"/>
+                                               <separator colspan="4" />
+                                               <group colspan="4" col="6">
+                                                   <button icon="gtk-cancel" special="cancel" string="Cancel"/>
+                                                   <button icon="terp-locked" string="Close Fiscalyear" name="data_save" type="object"/>
+                                               </group>
                </form>
             </field>
         </record>
@@ -33,6 +31,7 @@
 
         <menuitem action="action_account_fiscalyear_close_state"
             id="menu_wizard_fy_close_state"
+            sequence="20"
             parent="menu_account_end_year_treatments" />
 
     </data>