I want to get the items that are still not yet viewed. For example in 'Quotation'.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
2
回覆
7037
瀏覽次數
@Samantha Cruz
Just search the model using this domain:
unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
0
3月 15
|
4753 | ||
|
|
0
5月 20
|
1608 | ||
|
|
2
6月 15
|
37264 | ||
|
|
0
12月 25
|
2 | ||
|
|
0
11月 25
|
2 |
@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! :)