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.

27 lines
1.3 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 (http://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 expr="//button[@name='action_start_automatic_process']" position="attributes">
  14. <attribute name="groups">partner_deduplicate_acl.group_automatically</attribute>
  15. </xpath>
  16. <xpath expr="//button[@name='action_update_all_process']" position="attributes">
  17. <attribute name="groups">partner_deduplicate_acl.group_automatically</attribute>
  18. </xpath>
  19. </field>
  20. </record>
  21. <record id="base.action_partner_merge" model="ir.actions.act_window">
  22. <field name="groups_id" eval="[(4, ref('partner_deduplicate_acl.group_manually'))]"/>
  23. </record>
  24. </odoo>