Skip to Content
Menú
This question has been flagged
2 Respostes
6772 Vistes

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

Avatar
Descartar

@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

Autor

Thanks Sir! :)

Best Answer

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
4218
0
de maig 20
1392
2
de juny 15
36625
3
de set. 25
528
1
de set. 25
1944