Skip to Content
Menu
This question has been flagged
2 Replies
6794 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
4277
0
máj 20
1408
2
jún 15
36687
3
sep 25
633
1
sep 25
2015