跳至內容
選單
此問題已被標幟
2 回覆
6595 瀏覽次數

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)])
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
3929
0
5月 20
1227
2
6月 15
36273
0
7月 25
846
1
5月 25
1011