Merge pull request #1028 from expsa/samir-aladawi-send-all-notifications

[FIX] odex_web_app
This commit is contained in:
SamirLADOUI-sa 2024-09-08 10:56:20 +01:00 committed by GitHub
commit 3cdeff4af1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Message(models.Model):
partner_ids = self.env['mail.followers'].sudo().search([
('res_model', '=', message.model),
('res_id', '=', message.res_id),
('partner_id', '!=', message.author_id.partner_id.id)
('partner_id', '!=', message.author_id.id)
]).partner_id
elif message.subtype_id.id == mt_note.id:
partner_ids = message.partner_ids