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

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
4223
0
мая 20
1392
2
июн. 15
36636
3
сент. 25
543
1
сент. 25
1955