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.

65 lines
2.3 KiB

7 years ago
7 years ago
  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. <odoo>
  5. <data>
  6. <record id="action_data_protection_partner_form" model="ir.actions.act_window">
  7. <field name="name">Partners</field>
  8. <field name="type">ir.actions.act_window</field>
  9. <field name="res_model">res.partner</field>
  10. <field name="view_type">form</field>
  11. <field name="view_mode">tree,form</field>
  12. <field name="domain">[]</field>
  13. <field name="filter" eval="True"/>
  14. </record>
  15. <menuitem id="parent_menu_data_protection"
  16. name="Privacy"
  17. groups="group_data_protection_user"
  18. web_icon="privacy,static/description/icon.png"
  19. />
  20. <menuitem id="menu_data_protection_master_data"
  21. name="Master Data"
  22. parent="parent_menu_data_protection"
  23. groups="group_data_protection_user"
  24. sequence="10"
  25. />
  26. <menuitem id="menu_data_protection_partner"
  27. name="Partners"
  28. parent="menu_data_protection_master_data"
  29. action="action_data_protection_partner_form"
  30. sequence="1010"
  31. />
  32. <menuitem 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 id="menu_data_protection_report"
  39. name="Reports"
  40. parent="parent_menu_data_protection"
  41. groups="group_data_protection_user"
  42. sequence="30"
  43. />
  44. <record id="action_data_protection_config" model="ir.actions.act_window">
  45. <field name="name">Data Protection Settings</field>
  46. <field name="type">ir.actions.act_window</field>
  47. <field name="res_model">res.config.settings</field>
  48. <field name="view_mode">form</field>
  49. <field name="target">inline</field>
  50. <field name="context">{'module': 'data_protection'}</field>
  51. </record>
  52. <menuitem id="menu_data_protection_setting"
  53. name="Settings"
  54. parent="parent_menu_data_protection"
  55. action="action_data_protection_config"
  56. groups="group_data_protection_manager"
  57. sequence="90"
  58. />
  59. </data>
  60. </odoo>