I want to get the items that are still not yet viewed. For example in 'Quotation'.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
6767
Vistas
@Samantha Cruz
Just search the model using this domain:
unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
mar 15
|
4200 | ||
|
0
may 20
|
1388 | ||
Domain, filter date and month
Resuelto
|
|
2
jun 15
|
36621 | |
|
3
sept 25
|
520 | ||
|
1
sept 25
|
1941 |
@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
Thanks Sir! :)