Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6770 Zobrazení

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

Avatar
Zrušit

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

Nejlepší odpověď

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4210
0
kvě 20
1391
2
čvn 15
36624
3
zář 25
523
1
zář 25
1943