Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to manage inbox, to-od, to-me odoo8

By
Vinod Kumar
on 2/1/16, 7:22 AM 401 views

How to mark message as to-do by code in odoo8

1

Hardikgiri Goswami

--Hardikgiri Goswami--
1123
| 2 1 5
Rajkot, India
--Hardikgiri Goswami--

OpenERP/Odoo Customization/Integration Expert / Python Programmer

Skype ID : hardikgiri.goswami

Hardikgiri Goswami
On 2/1/16, 9:32 AM

Hi Vinod,


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)
"""

Regards,

Hardik

Hi Hardikgiri, Thanks for giving solution still i want some other problem in sale order i added new role called sales team head. Sale user once after creating sale quotation user will send that quote to team lead by mail through mail wizard how can i mark that mail as starred for the team lead Can you explain with example

Vinod Kumar
on 2/2/16, 7:17 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/1/16, 7:22 AM
Seen: 401 times
Last updated: 2/4/16, 9:16 AM