Skip to Content
मेन्यू
This question has been flagged
2 Replies
6605 Views

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

Avatar
Discard

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

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

Author

Thanks Sir! :)

Best Answer

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 15
3933
0
मई 20
1229
2
जून 15
36277
0
जुल॰ 25
854
1
मई 25
1014