Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6594 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
3924
0
may 20
1224
2
jun 15
36258
0
jul 25
838
1
may 25
997