Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6640 Widoki

I want to get the items that are still not yet viewed. For example in 'Quotation'.

Awatar
Odrzuć

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

Najlepsza odpowiedź

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3983
0
maj 20
1250
2
cze 15
36325
1
sie 25
88
0
lip 25
897