Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6767 Vistas

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! :)

Mejor respuesta

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
4200
0
may 20
1388
2
jun 15
36621
3
sept 25
520
1
sept 25
1941