Skip to Content
Menu
This question has been flagged
2 Replies
6754 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
4174
0
geg. 20
1381
2
birž. 15
36591
3
rugs. 25
507
1
rugs. 25
1927