Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
6650 Vues

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

Avatar
Ignorer

@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

Auteur

Thanks Sir! :)

Meilleure réponse

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
3983
0
mai 20
1252
2
juin 15
36335
1
août 25
92
0
juil. 25
900