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.

26 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. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  6. <odoo>
  7. <record id="base_partner_merge_automatic_wizard_form" model="ir.ui.view">
  8. <field name="name">Restrict automatic merge access</field>
  9. <field name="model">base.partner.merge.automatic.wizard</field>
  10. <field name="inherit_id" ref="crm.base_partner_merge_automatic_wizard_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//button[@name='action_start_automatic_process']" position="attributes">
  13. <attribute name="groups">crm_deduplicate_acl.group_automatically</attribute>
  14. </xpath>
  15. <xpath expr="//button[@name='action_update_all_process']" position="attributes">
  16. <attribute name="groups">crm_deduplicate_acl.group_automatically</attribute>
  17. </xpath>
  18. </field>
  19. </record>
  20. <record id="crm.action_partner_merge" model="ir.actions.act_window">
  21. <field name="groups_id" eval="[(4, ref('crm_deduplicate_acl.group_manually'))]"/>
  22. </record>
  23. </odoo>