Browse Source

crm_deduplicate_acl: Show deduplicate menu for automatic group

pull/721/head
Pedro M. Baeza 8 years ago
parent
commit
3b795c4a9b
  1. 5
      partner_deduplicate_acl/README.rst
  2. 2
      partner_deduplicate_acl/__openerp__.py
  3. 2
      partner_deduplicate_acl/security/crm_deduplicate_acl_security.xml
  4. 10
      partner_deduplicate_acl/views/base_partner_merge_view.xml

5
partner_deduplicate_acl/README.rst

@ -41,7 +41,7 @@ Usage
To use this module, you need to:
#. Ask your admin to give you the new rigts.
#. Ask your admin to give you the new rights.
#. Go to *Sales > Tools > Deduplicate Contacts* as usual.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
@ -76,8 +76,9 @@ Contributors
------------
* Rafael Blasco <rafabn@antiun.com>
* Jairo Llopis <yajo.sk8@gmail.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
Maintainer
----------

2
partner_deduplicate_acl/__openerp__.py

@ -5,7 +5,7 @@
{
"name": "Deduplicate Contacts ACL",
"summary": "Contact deduplication with fine-grained permission control",
"version": "9.0.1.0.0",
"version": "9.0.1.1.0",
"category": "Tools",
"website": "http://www.tecnativa.com",
"author": "Tecnativa, "

2
partner_deduplicate_acl/security/crm_deduplicate_acl_security.xml

@ -24,7 +24,7 @@
<record id="group_unrestricted" model="res.groups">
<field name="name">Without restrictions</field>
<field name="category_id" ref="category"/>
<field name="implied_ids" eval="[(4, ref('group_manually'))]"/>
<field name="implied_ids" eval="[(4, ref('group_automatically'))]"/>
</record>
<!-- Respect previous behavior -->

10
partner_deduplicate_acl/views/base_partner_merge_view.xml

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- © 2016 Tecnativa S.L. - Jairo Llopis
© 2016 Tecnativa S.L. - Vicent Cubells
<!-- Copyright 2016 Tecnativa - Jairo Llopis
Copyright 2016 Tecnativa - Vicent Cubells
Copyright 2017 Tecnativa - Pedro M. Baeza
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
<odoo>
<menuitem id='root_menu' name='Tools' parent='base.menu_base_partner' sequence="25"/>
<menuitem id='partner_merge_automatic_menu'
action='crm.action_partner_deduplicate'
groups='base.group_system'
parent='root_menu' />
groups='group_automatically'
parent='root_menu'
/>
</odoo>
Loading…
Cancel
Save