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.1 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_mode">kanban,tree,form</field>
  10. </record>
  11. <menuitem
  12. 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
  18. id="menu_data_protection_master_data"
  19. name="Master Data"
  20. parent="parent_menu_data_protection"
  21. groups="group_data_protection_user"
  22. sequence="10"
  23. />
  24. <menuitem
  25. id="menu_data_protection_partner"
  26. name="Partners"
  27. parent="menu_data_protection_master_data"
  28. action="action_data_protection_partner_form"
  29. sequence="1010"
  30. />
  31. <menuitem
  32. id="menu_data_protection_transaction"
  33. name="Transactions"
  34. parent="parent_menu_data_protection"
  35. groups="group_data_protection_user"
  36. sequence="20"
  37. />
  38. <menuitem
  39. id="menu_data_protection_report"
  40. name="Reports"
  41. parent="parent_menu_data_protection"
  42. groups="group_data_protection_user"
  43. sequence="30"
  44. />
  45. <record id="action_data_protection_config" model="ir.actions.act_window">
  46. <field name="name">Data Protection Settings</field>
  47. <field name="type">ir.actions.act_window</field>
  48. <field name="res_model">res.config.settings</field>
  49. <field name="view_mode">form</field>
  50. <field name="target">inline</field>
  51. <field name="context">{'module': 'data_protection'}</field>
  52. </record>
  53. <menuitem
  54. id="menu_data_protection_setting"
  55. name="Settings"
  56. parent="parent_menu_data_protection"
  57. action="action_data_protection_config"
  58. groups="group_data_protection_manager"
  59. sequence="90"
  60. />
  61. </data>