Skip to Content
Menu
This question has been flagged
2 Replies
6603 Zobrazenia

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

Avatar
Zrušiť

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

Best Answer

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 15
3932
0
máj 20
1229
2
jún 15
36277
0
júl 25
852
1
máj 25
1012