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.

29 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2016 Tecnativa S.L. - Jairo Llopis
  3. Copyright 2016 Tecnativa S.L. - Vicent Cubells
  4. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -->
  5. <odoo>
  6. <!-- New user group category -->
  7. <record id="category" model="ir.module.category">
  8. <field name="name">Deduplicate Contacts</field>
  9. </record>
  10. <!-- New user groups -->
  11. <record id="group_manually" model="res.groups">
  12. <field name="name">Manually</field>
  13. <field name="category_id" ref="category" />
  14. </record>
  15. <record id="group_automatically" model="res.groups">
  16. <field name="name">Automatically</field>
  17. <field name="category_id" ref="category" />
  18. <field name="implied_ids" eval="[(4, ref('group_manually'))]" />
  19. </record>
  20. <record id="group_unrestricted" model="res.groups">
  21. <field name="name">Without restrictions</field>
  22. <field name="category_id" ref="category" />
  23. <field name="implied_ids" eval="[(4, ref('group_automatically'))]" />
  24. </record>
  25. <!-- Respect previous behavior -->
  26. <record id="base.group_system" model="res.groups">
  27. <field name="implied_ids" eval="[(4, ref('group_unrestricted'))]" />
  28. </record>
  29. </odoo>