You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.7 KiB
41 lines
1.7 KiB
<?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_financial_report_horizontal.account_common_report_view" />
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<xpath expr="/form/label[@string='']" position="replace">
|
|
<separator string="Profit And Loss" colspan="4"/>
|
|
<label nolabel="1" colspan="4" string="The Profit and Loss report gives you an overview of your company profit and loss in a single document"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='fiscalyear_id']" position="after">
|
|
<field name="display_account"/>
|
|
<field name="display_type"/>
|
|
</xpath>
|
|
</data>
|
|
</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 icon="STOCK_PRINT"
|
|
name="Profit And Loss"
|
|
action="action_account_pl_report"
|
|
id="menu_account_pl_report"
|
|
parent="final_accounting_reports"/>
|
|
|
|
</data>
|
|
</openerp>
|