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.

51 lines
2.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="account_financial_report_assets_backend"
  4. name="account_financial_report assets" inherit_id="web.assets_backend">
  5. <xpath expr="." position="inside">
  6. <link href="/account_financial_report/static/src/css/report.css" rel="stylesheet"/>
  7. <script type="text/javascript"
  8. src="/account_financial_report/static/src/js/account_financial_report_backend.js"/>
  9. <script type="text/javascript"
  10. src="/account_financial_report/static/src/js/account_financial_report_widgets.js"/>
  11. </xpath>
  12. </template>
  13. <template id="report_buttons">
  14. <div class="button_row">
  15. <button class="o_account_financial_reports_print btn btn-sm oe_button"><span class="fa fa-print"/> Print</button>
  16. <button class="o_account_financial_reports_export btn btn-sm oe_button"><span class="fa fa-download"/> Export</button>
  17. </div>
  18. </template>
  19. <record id="action_report_general_ledger" model="ir.actions.client">
  20. <field name="name">General Ledger</field>
  21. <field name="tag">account_financial_report_backend</field>
  22. <field name="context" eval="{'active_model': 'report_general_ledger'}" />
  23. </record>
  24. <record id="action_report_open_items" model="ir.actions.client">
  25. <field name="name">Open Items</field>
  26. <field name="tag">account_financial_report_backend</field>
  27. <field name="context" eval="{'active_model': 'report_open_items'}" />
  28. </record>
  29. <record id="action_report_trial_balance" model="ir.actions.client">
  30. <field name="name">Trial Balance</field>
  31. <field name="tag">account_financial_report_backend</field>
  32. <field name="context" eval="{'active_model': 'report_trial_balance'}" />
  33. </record>
  34. <record id="action_report_aged_partner_balance" model="ir.actions.client">
  35. <field name="name">Aged Partner Balance</field>
  36. <field name="tag">account_financial_report_backend</field>
  37. <field name="context" eval="{'active_model': 'report_aged_partner_balance'}" />
  38. </record>
  39. <record id="action_report_vat_report" model="ir.actions.client">
  40. <field name="name">VAT Report</field>
  41. <field name="tag">account_financial_report_backend</field>
  42. <field name="context" eval="{'active_model': 'report_vat_report'}" />
  43. </record>
  44. </odoo>