Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6636 Представления

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

Аватар
Отменить

@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

Автор

Thanks Sir! :)

Лучший ответ

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 15
3983
0
мая 20
1249
2
июн. 15
36323
1
авг. 25
82
0
июл. 25
894