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
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
2
Відповіді
6662
Переглядів
@Samantha Cruz
Just search the model using this domain:
unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
0
бер. 15
|
3991 | ||
|
0
трав. 20
|
1253 | ||
Domain, filter date and month
Вирішено
|
|
2
черв. 15
|
36348 | |
|
1
серп. 25
|
108 | ||
|
0
лип. 25
|
937 |
@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! :)