[FIX] base : add unlink access to partner manager

To reproduce
============

- make sure to have two contacts with same email (duplicate Mitchell for example)
- in 'Contacts', switch to 'list view', selected any two contacts with the checkboxes, go the the 'Action' menu and select 'Merge'
- Click on 'Skip these contacts', then click on 'Deduplicate the other contacts', then check the 'Email' checkbox and click on 'Merge with manual check'.
- click on 'Skip these contacts'

an Access Error is raised

Purpose
=======

Partner Manager doesn't have the unlink access to `partner.merge.line` model, this access wasn't given because it's often unecessary,
but here it's good example where it's needed.

Specification
=============

to solve the issue we give the unlink access to partner manager.

opw-2851507

closes odoo/odoo#92188

X-original-commit: a6754f3524401c325ae6926ed6984dc1add24f79
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: abla001 <abla@odoo.com>
This commit is contained in:
Abdelouahab (abla)
2022-05-24 17:09:04 +02:00
parent 5186aeb867
commit 533cf7a984
@@ -119,7 +119,7 @@
"access_base_module_uninstall","access.base.module.uninstall","model_base_module_uninstall","base.group_system",1,1,1,0
"access_base_language_export","access.base.language.export","model_base_language_export","base.group_user",1,1,1,0
"access_base_update_translations","access.base.update.translations","model_base_update_translations","base.group_system",1,1,1,0
"access_base_partner_merge_line","access.base.partner.merge.line","model_base_partner_merge_line","base.group_partner_manager",1,1,1,0
"access_base_partner_merge_line","access.base.partner.merge.line","model_base_partner_merge_line","base.group_partner_manager",1,1,1,1
"access_base_partner_merge_automatic_wizard","access.base.partner.merge.automatic.wizard","model_base_partner_merge_automatic_wizard","base.group_partner_manager",1,1,1,0
"access_ir_profile","ir_profile","model_ir_profile","group_system",1,1,1,1
"access_base_enable_profiling_wizard","access.base.enable.profiling.wizard","model_base_enable_profiling_wizard","group_system",1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
119 access_base_module_uninstall access.base.module.uninstall model_base_module_uninstall base.group_system 1 1 1 0
120 access_base_language_export access.base.language.export model_base_language_export base.group_user 1 1 1 0
121 access_base_update_translations access.base.update.translations model_base_update_translations base.group_system 1 1 1 0
122 access_base_partner_merge_line access.base.partner.merge.line model_base_partner_merge_line base.group_partner_manager 1 1 1 0 1
123 access_base_partner_merge_automatic_wizard access.base.partner.merge.automatic.wizard model_base_partner_merge_automatic_wizard base.group_partner_manager 1 1 1 0
124 access_ir_profile ir_profile model_ir_profile group_system 1 1 1 1
125 access_base_enable_profiling_wizard access.base.enable.profiling.wizard model_base_enable_profiling_wizard group_system 1 1 1 0