2010-03-30 12:47:02 +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_state" model="ir.ui.view">
|
2010-03-30 12:47:02 +00:00
|
|
|
<field name="name">account.fiscalyear.close.state.form</field>
|
|
|
|
<field name="model">account.fiscalyear.close.state</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Close states of Fiscal year and periods">
|
2012-06-15 12:03:22 +00:00
|
|
|
<group>
|
|
|
|
<field name="fy_id" domain="[('state','=','draft')]"/>
|
|
|
|
</group>
|
2012-07-13 13:31:19 +00:00
|
|
|
<footer>
|
|
|
|
<button icon="terp-locked" string="Close Fiscal Year" name="data_save" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel"/>
|
|
|
|
</footer>
|
2012-07-16 11:28:49 +00:00
|
|
|
</form>
|
2010-03-30 12:47:02 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_account_fiscalyear_close_state" model="ir.actions.act_window">
|
|
|
|
<field name="name">Close a Fiscal Year</field>
|
|
|
|
<field name="res_model">account.fiscalyear.close.state</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_state"/>
|
|
|
|
<field name="target">new</field>
|
2010-03-30 12:47:02 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem action="action_account_fiscalyear_close_state"
|
2010-08-14 09:43:51 +00:00
|
|
|
id="menu_wizard_fy_close_state"
|
2010-09-02 11:00:10 +00:00
|
|
|
sequence="20"
|
2010-08-14 09:43:51 +00:00
|
|
|
parent="menu_account_end_year_treatments" />
|
2010-03-30 12:47:02 +00:00
|
|
|
|
|
|
|
</data>
|
2010-08-14 09:43:51 +00:00
|
|
|
</openerp>
|