Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
6753 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
4170
0
mai 20
1381
2
juin 15
36588
3
sept. 25
505
1
sept. 25
1926