Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
6762 Visualizações

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

Avatar
Cancelar

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

Melhor resposta

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4182
0
mai. 20
1383
2
jun. 15
36613
3
set. 25
516
1
set. 25
1937