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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
2
Odpowiedzi
6640
Widoki
@Samantha Cruz
Just search the model using this domain:
unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
mar 15
|
3983 | ||
|
0
maj 20
|
1250 | ||
Domain, filter date and month
Rozwiązane
|
|
2
cze 15
|
36325 | |
|
1
sie 25
|
88 | ||
|
0
lip 25
|
897 |
@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! :)