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.

23 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2020 Tecnativa - Ernesto Tejeda
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="partner_route_module_category" model="ir.module.category">
  6. <field name="name">Partner Routes</field>
  7. <field name="description">Manage Partner Routes</field>
  8. </record>
  9. <!-- Access Groups -->
  10. <record id="partner_route_group_user" model="res.groups">
  11. <field name="name">User</field>
  12. <field name="comment">the user can edit the route but cannot create or delete them.</field>
  13. <field name="category_id" ref="partner_route_module_category"/>
  14. <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
  15. </record>
  16. <record id="partner_route_group_manager" model="res.groups">
  17. <field name="name">Manager</field>
  18. <field name="comment">the user can create and remove routes.</field>
  19. <field name="category_id" ref="partner_route_module_category"/>
  20. <field name="implied_ids" eval="[(4, ref('partner_route_group_user'))]"/>
  21. <field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
  22. </record>
  23. </odoo>