This question has been flagged
3337 Views

is this code looking good?

notify

    if partners_to_notify:
        self.write(cr, SUPERUSER_ID, [newid], {'notified_partner_ids': [(4, p.id) for p in partners_to_notify]}, context=context)
    notification_obj._notify(cr, uid, newid, context=context)

message.refresh()

Avatar
Discard