Odoo Help

1

How to get the items in 'Unread Messages' filter

By
Samantha Cruz
on 1/22/16, 12:34 AM 1,341 views

I want to get the items that are still not yet viewed. For example in 'Quotation'.

@Axel what part of the code? Can you please give an example?

Samantha Cruz
on 1/22/16, 1:50 AM

I edit the domain example in my answer so you could get the idea better

Axel Mendoza
on 1/22/16, 5:33 PM

Thanks Sir! :)

Samantha Cruz
on 1/24/16, 11:10 PM
0
Axel Mendoza
On 1/22/16, 1:27 AM

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/22/16, 12:34 AM
Seen: 1341 times
Last updated: 1/3/17, 7:37 AM