<?xml version="1.0" encoding="utf-8"?>
<openerp>
     <data>

        <record id="account_pl_report_view" model="ir.ui.view">
            <field name="name">Profit and Loss</field>
            <field name="model">account.pl.report</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.account_common_report_view" />
            <field name="arch" type="xml">
               <field name="fiscalyear_id" position="after">
                   <field name="display_account"/>
                   <field name="display_type"/>
               </field>
            </field>
        </record>

         <record id="action_account_pl_report" model="ir.actions.act_window">
             <field name="name">Account Profit And Loss</field>
             <field name="res_model">account.pl.report</field>
             <field name="type">ir.actions.act_window</field>
             <field name="view_type">form</field>
             <field name="view_mode">form</field>
             <field name="view_id" ref="account_pl_report_view"/>
             <field name="target">new</field>
       </record>

       <menuitem
            parent="account.menu_finance_legal_statement"
            id="final_accounting_reports"
            name="Accounting Reports"/>

        <menuitem icon="STOCK_PRINT"
                name="Profit And Loss"
                action="action_account_pl_report"
                id="menu_account_pl_report"
                parent="final_accounting_reports"/>

    </data>
</openerp>
