28 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- vim:fdn=3:
  3. -->
  4. <openerp>
  5. <data>
  6. <template id="assets_backend" name="help.online.assets" inherit_id="web.assets_backend">
  7. <xpath expr="." position="inside">
  8. <link rel="stylesheet" href="/help_online/static/src/css/help_online.css" type="text/css"/>
  9. <script type="text/javascript" src="/help_online/static/src/js/help_online.js"></script>
  10. </xpath>
  11. </template>
  12. <record model="ir.actions.act_window" id="action_website_pages">
  13. <field name="name">Website Pages</field>
  14. <field name="res_model">ir.ui.view</field>
  15. <field name="search_view_id" ref="view_view_search" />
  16. <field name="view_type">form</field>
  17. <field name="view_mode">tree,form</field>
  18. <field name="context">{"search_default_website":1}</field>
  19. </record>
  20. <menuitem id="menu_help_main" name="Help Online" groups="help_online_group_writer"/>
  21. <menuitem id="menu_help" name="Help Online" parent="menu_help_main" sequence="90" groups="help_online_group_writer"/>
  22. <menuitem id="menu_help_pages" name="Website Pages" parent="menu_help" sequence="10" action="action_website_pages" groups="help_online_group_writer"/>
  23. <menuitem id="menu_help_import" name="Import Help Online" parent="menu_help" sequence="20" action="action_import_help_wizard" groups="help_online_group_writer"/>
  24. <menuitem id="menu_help_export" name="Export Help Online" parent="menu_help" sequence="30" action="action_export_help_wizard" groups="help_online_group_writer"/>
  25. </data>
  26. </openerp>