From 8d7a5ab24b081ea957f577f8730259ab44bb8636 Mon Sep 17 00:00:00 2001 From: Emanuel Cino Date: Tue, 27 Aug 2024 13:37:32 +0200 Subject: [PATCH] T1768 FIX included messages in crm.claim - Hide internal conversations from the interaction_resume --- interaction_resume/models/crm_request.py | 1 + 1 file changed, 1 insertion(+) diff --git a/interaction_resume/models/crm_request.py b/interaction_resume/models/crm_request.py index d138842b2..6753d9afe 100644 --- a/interaction_resume/models/crm_request.py +++ b/interaction_resume/models/crm_request.py @@ -11,6 +11,7 @@ def _get_interaction_data(self, partner_id): for claim in self: messages = claim.message_ids.filtered( lambda m: m.message_type in ("email", "comment") + and (m.author_id.id == partner_id or partner_id in m.partner_ids.ids) ) res.extend( [