Skip to content

Commit

Permalink
Merge pull request #345 from SDIsl/12.0-#203164_website_published_mes…
Browse files Browse the repository at this point in the history
…sages

[IMP] Ignore message type
  • Loading branch information
valentincastravete authored Jul 3, 2024
2 parents ab9f607 + d8eb774 commit b8da03e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mail_private_no_published/models/mail_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def _check_archive(self):
def create(self, vals):
res = super().create(vals)
for rec in res:
if rec.subtype_id != self.env.ref('mail.mt_note'):
continue

partner_ids = rec.partner_ids.ids
user_ids = self.env['res.users'].search([
('partner_id', 'in', partner_ids),
Expand Down

0 comments on commit b8da03e

Please sign in to comment.