CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
There is a method for making any message as a to-do ( starred) in "mail.message" object. it is used in many places in Odoo.
set_message_starred(self, cr, uid, msg_ids, starred, create_missing=True, context=None):
""" Set messages as (un)starred. Technically, the notifications related
to uid are set to (un)starred.
:param bool starred: set notification as (un)starred
:param bool create_missing: create notifications for missing entries
(i.e. when acting on displayed messages not notified)
About This Community
Odoo Training Center
|Asked: 2/1/16, 7:22 AM|
|Seen: 767 times|
|Last updated: 2/4/16, 9:16 AM|