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
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
6599
มุมมอง
@Samantha Cruz
Just search the model using this domain:
unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
มี.ค. 15
|
3932 | ||
|
0
พ.ค. 20
|
1228 | ||
Domain, filter date and month
แก้ไขแล้ว
|
|
2
มิ.ย. 15
|
36276 | |
|
0
ก.ค. 25
|
851 | ||
|
1
พ.ค. 25
|
1012 |
@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! :)