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.

37 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2016 Tecnativa - Jairo Llopis
  3. Copyright 2016 Tecnativa - Vicent Cubells
  4. Copyright 2018 Tecnativa - Pedro M. Baeza
  5. Copyright 2019 Tecnativa - Victor M.M. Torres
  6. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -->
  7. <odoo>
  8. <record id="base_partner_merge_automatic_wizard_form" model="ir.ui.view">
  9. <field name="name">Restrict automatic merge access</field>
  10. <field name="model">base.partner.merge.automatic.wizard</field>
  11. <field name="inherit_id" ref="base.base_partner_merge_automatic_wizard_form" />
  12. <field name="arch" type="xml">
  13. <xpath
  14. expr="//button[@name='action_start_automatic_process']"
  15. position="attributes"
  16. >
  17. <attribute
  18. name="groups"
  19. >partner_deduplicate_acl.group_automatically</attribute>
  20. </xpath>
  21. <xpath
  22. expr="//button[@name='action_update_all_process']"
  23. position="attributes"
  24. >
  25. <attribute
  26. name="groups"
  27. >partner_deduplicate_acl.group_automatically</attribute>
  28. </xpath>
  29. </field>
  30. </record>
  31. <record id="base.action_partner_merge" model="ir.actions.act_window">
  32. <field
  33. name="groups_id"
  34. eval="[(4, ref('partner_deduplicate_acl.group_manually'))]"
  35. />
  36. </record>
  37. </odoo>