2010-04-09 11:09:59 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2010-08-14 09:43:51 +00:00
<record id= "view_account_fiscalyear_close" model= "ir.ui.view" >
2010-04-09 11:09:59 +00:00
<field name= "name" > account.fiscalyear.close.form</field>
<field name= "model" > account.fiscalyear.close</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-10-14 12:56:24 +00:00
<form string= "Generate Fiscal Year Opening Entries" >
2010-11-15 06:51:23 +00:00
<separator string= "Generate Fiscal Year Opening Entries" colspan= "4" />
2010-10-14 12:56:24 +00:00
<label string= "This wizard will generate the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year: it will simply replace the old opening entries with the new ones." colspan= "4" />
2010-11-15 06:51:23 +00:00
<newline />
2010-10-14 12:56:24 +00:00
<field name= "fy_id" domain = "[('state','=','draft')]" />
<field name= "fy2_id" domain = "[('state','=','draft')]" />
<field name= "journal_id" />
2011-03-03 14:52:56 +00:00
<field name= "period_id" domain = "[('fiscalyear_id','=',fy2_id),('special','=', True)]" />
2010-10-14 12:56:24 +00:00
<field name= "report_name" colspan= "4" />
<separator colspan= "4" />
<group colspan= "4" col= "6" >
<label string= "" colspan= "2" />
<button icon= "gtk-cancel" special= "cancel" string= "Cancel" />
<button icon= "gtk-execute" string= "Create" name= "data_save" type= "object" />
</group>
</form>
</field>
2010-04-09 11:09:59 +00:00
</record>
2010-08-14 09:43:51 +00:00
<record id= "action_account_fiscalyear_close" model= "ir.actions.act_window" >
2010-06-04 13:01:56 +00:00
<field name= "name" > Generate Opening Entries</field>
2010-04-09 11:09:59 +00:00
<field name= "res_model" > account.fiscalyear.close</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-08-14 09:43:51 +00:00
<field name= "view_id" ref= "view_account_fiscalyear_close" />
<field name= "target" > new</field>
2010-04-09 11:09:59 +00:00
</record>
<menuitem action= "action_account_fiscalyear_close"
2010-08-14 09:43:51 +00:00
id="menu_wizard_fy_close"
parent="menu_account_end_year_treatments" />
2010-04-09 11:09:59 +00:00
</data>
</openerp>