Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
6598 Visualizzazioni

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

Avatar
Abbandona

@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

Autore

Thanks Sir! :)

Risposta migliore

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
3932
0
mag 20
1228
2
giu 15
36276
0
lug 25
849
1
mag 25
1012