<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        
        <record id="action_account_period_tree" model="ir.actions.act_window">
            <field name="name">Close a Period</field>
            <field name="res_model">account.period</field>
            <field name="view_type">form</field>
            <field name="domain">[('state','=','draft')]</field>
            <field name="view_id" ref="view_account_period_tree"/>
            <field name="help"> After closing a period, you will no longer be able to post entries to the period once it has been closed.</field>
        </record>
        <menuitem
            action="action_account_period_tree"
            id="menu_action_account_period_close_tree"
            parent="account.menu_account_end_year_treatments"
            sequence="0" groups="base.group_extended"/>
        
    </data>
</openerp>
