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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="account_pl_report_view" model="ir.ui.view">
  5. <field name="name">Profit and Loss</field>
  6. <field name="model">account.pl.report</field>
  7. <field name="type">form</field>
  8. <field name="inherit_id" ref="account_financial_report_horizontal.account_common_report_view" />
  9. <field name="arch" type="xml">
  10. <data>
  11. <xpath expr="/form/label[@string='']" position="replace">
  12. <separator string="Profit And Loss" colspan="4"/>
  13. <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"/>
  14. </xpath>
  15. <xpath expr="//field[@name='fiscalyear_id']" position="after">
  16. <field name="display_account"/>
  17. <field name="display_type"/>
  18. </xpath>
  19. </data>
  20. </field>
  21. </record>
  22. <record id="action_account_pl_report" model="ir.actions.act_window">
  23. <field name="name">Account Profit And Loss</field>
  24. <field name="res_model">account.pl.report</field>
  25. <field name="type">ir.actions.act_window</field>
  26. <field name="view_type">form</field>
  27. <field name="view_mode">form</field>
  28. <field name="view_id" ref="account_pl_report_view"/>
  29. <field name="target">new</field>
  30. </record>
  31. <menuitem icon="STOCK_PRINT"
  32. name="Profit And Loss"
  33. action="action_account_pl_report"
  34. id="menu_account_pl_report"
  35. parent="final_accounting_reports"/>
  36. </data>
  37. </openerp>