[FIX] mail: missing .id during forward port 3c0292645f
This commit is contained in:
parent
6b00257595
commit
98bf37f6e1
|
@ -977,7 +977,7 @@ class mail_message(osv.Model):
|
|||
('res_id', '=', message.res_id),
|
||||
], context=context)
|
||||
partners_to_notify |= set(
|
||||
fo.partner_id for fo in fol_obj.browse(cr, SUPERUSER_ID, fol_ids, context=context)
|
||||
fo.partner_id.id for fo in fol_obj.browse(cr, SUPERUSER_ID, fol_ids, context=context)
|
||||
if message.subtype_id.id in [st.id for st in fo.subtype_ids]
|
||||
)
|
||||
# remove me from notified partners, unless the message is written on my own wall
|
||||
|
|
Loading…
Reference in New Issue