Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
6641 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
3983
0
mai. 20
1250
2
jun. 15
36326
1
ago. 25
88
0
jul. 25
897