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.

46 lines
2.0 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="type">form</field>
  8. <field name="inherit_id" ref="account_common_report_view" />
  9. <field name="arch" type="xml">
  10. <data>
  11. <xpath expr="//field[@name='chart_account_id']" position="replace">
  12. <field name="chart_account_id" widget="selection" />
  13. </xpath>
  14. <xpath expr="/form/label[@string='']" position="replace">
  15. <separator string="Balance Sheet" colspan="4"/>
  16. <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"/>
  17. </xpath>
  18. <xpath expr="//field[@name='target_move']" position="after">
  19. <field name="display_account"/>
  20. <field name="display_type"/>
  21. <newline/>
  22. </xpath>
  23. </data>
  24. </field>
  25. </record>
  26. <record id="action_account_bs_report" model="ir.actions.act_window">
  27. <field name="name">Balance Sheet</field>
  28. <field name="res_model">account.bs.report</field>
  29. <field name="type">ir.actions.act_window</field>
  30. <field name="view_type">form</field>
  31. <field name="view_mode">form</field>
  32. <field name="view_id" ref="account_bs_report_view"/>
  33. <field name="target">new</field>
  34. </record>
  35. <menuitem icon="STOCK_PRINT"
  36. name="Balance Sheet"
  37. action="action_account_bs_report"
  38. groups="account.group_account_user,account.group_account_manager"
  39. id="menu_account_bs_report"
  40. parent="final_accounting_reports"/>
  41. </data>
  42. </openerp>