Skip to content

Commit

Permalink
T1768 FIX included messages in crm.claim
Browse files Browse the repository at this point in the history
- Hide internal conversations from the interaction_resume
  • Loading branch information
ecino committed Aug 27, 2024
1 parent d757c1c commit 8d7a5ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interaction_resume/models/crm_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
[
Expand Down

0 comments on commit 8d7a5ab

Please sign in to comment.