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.

45 lines
1.9 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="account_bs_report_view" model="ir.ui.view">
  5. <field name="name">Account Balance Sheet</field>
  6. <field name="model">account.bs.report</field>
  7. <field name="inherit_id" ref="account_common_report_view" />
  8. <field name="arch" type="xml">
  9. <data>
  10. <xpath expr="//field[@name='chart_account_id']" position="replace">
  11. <field name="chart_account_id" widget="selection" />
  12. </xpath>
  13. <xpath expr="/form/label[@string='']" position="replace">
  14. <separator string="Balance Sheet" colspan="4"/>
  15. <label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/>
  16. </xpath>
  17. <xpath expr="//field[@name='target_move']" position="after">
  18. <field name="display_account"/>
  19. <field name="display_type"/>
  20. <newline/>
  21. </xpath>
  22. </data>
  23. </field>
  24. </record>
  25. <record id="action_account_bs_report" model="ir.actions.act_window">
  26. <field name="name">Balance Sheet</field>
  27. <field name="res_model">account.bs.report</field>
  28. <field name="type">ir.actions.act_window</field>
  29. <field name="view_type">form</field>
  30. <field name="view_mode">form</field>
  31. <field name="view_id" ref="account_bs_report_view"/>
  32. <field name="target">new</field>
  33. </record>
  34. <menuitem icon="STOCK_PRINT"
  35. name="Balance Sheet"
  36. action="action_account_bs_report"
  37. groups="account.group_account_user,account.group_account_manager"
  38. id="menu_account_bs_report"
  39. parent="final_accounting_reports"/>
  40. </data>
  41. </openerp>