Skip to content
Snippets Groups Projects
Commit 9960def5 authored by jerome hanke (jhk)'s avatar jerome hanke (jhk) Committed by Nicolas Lempereur
Browse files

[FIX] base: keep activity after partner merged


Steps to reproduce:
- install contacts
- go to any 2 contacts and add a message and an activity to the chatter
- go to the list view > select the 2 contacts > action > merge
- click on the remaining contact and refresh

Previous behavior:
the activities have not been merged

Current behavior:
activities are merged

opw-2263853

closes odoo/odoo#52597

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent f3e42b70
No related branches found
No related tags found
No related merge requests found
......@@ -196,6 +196,7 @@ class MergePartnerAutomatic(models.TransientModel):
update_records('calendar', src=partner, field_model='model_id.model')
update_records('ir.attachment', src=partner, field_model='res_model')
update_records('mail.followers', src=partner, field_model='res_model')
update_records('mail.activity', src=partner, field_model='res_model')
update_records('mail.message', src=partner)
update_records('ir.model.data', src=partner)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment