Skip to Content
Menu
This question has been flagged
2 Replies
6649 Rodiniai

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

Portretas
Atmesti

@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

Autorius

Thanks Sir! :)

Best Answer

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
3983
0
geg. 20
1250
2
birž. 15
36334
1
rugp. 25
91
0
liep. 25
900