Skip to Content
Menú
This question has been flagged
2 Respostes
6621 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
3940
0
de maig 20
1240
2
de juny 15
36300
0
de jul. 25
866
1
de maig 25
1025