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.

61 lines
2.3 KiB

  1. <?xml version="1.0"?>
  2. <!-- Copyright 2018 Eficent Business and IT Consulting Services S.L.
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
  4. <data>
  5. <record id="action_data_protection_partner_form" model="ir.actions.act_window">
  6. <field name="name">Partners</field>
  7. <field name="type">ir.actions.act_window</field>
  8. <field name="res_model">res.partner</field>
  9. <field name="view_type">form</field>
  10. <field name="view_mode">kanban,tree,form</field>
  11. </record>
  12. <menuitem id="parent_menu_data_protection"
  13. name="Privacy"
  14. groups="group_data_protection_user"
  15. web_icon="privacy,static/description/icon.png"
  16. />
  17. <menuitem id="menu_data_protection_master_data"
  18. name="Master Data"
  19. parent="parent_menu_data_protection"
  20. groups="group_data_protection_user"
  21. sequence="10"
  22. />
  23. <menuitem id="menu_data_protection_partner"
  24. name="Partners"
  25. parent="menu_data_protection_master_data"
  26. action="action_data_protection_partner_form"
  27. sequence="1010"
  28. />
  29. <menuitem id="menu_data_protection_transaction"
  30. name="Transactions"
  31. parent="parent_menu_data_protection"
  32. groups="group_data_protection_user"
  33. sequence="20"
  34. />
  35. <menuitem id="menu_data_protection_report"
  36. name="Reports"
  37. parent="parent_menu_data_protection"
  38. groups="group_data_protection_user"
  39. sequence="30"
  40. />
  41. <record id="action_data_protection_config" model="ir.actions.act_window">
  42. <field name="name">Data Protection Settings</field>
  43. <field name="type">ir.actions.act_window</field>
  44. <field name="res_model">res.config.settings</field>
  45. <field name="view_mode">form</field>
  46. <field name="target">inline</field>
  47. <field name="context">{'module': 'data_protection'}</field>
  48. </record>
  49. <menuitem id="menu_data_protection_setting"
  50. name="Settings"
  51. parent="parent_menu_data_protection"
  52. action="action_data_protection_config"
  53. groups="group_data_protection_manager"
  54. sequence="90"
  55. />
  56. </data>