Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6599 มุมมอง

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
3932
0
พ.ค. 20
1228
Domain, filter date and month แก้ไขแล้ว
2
มิ.ย. 15
36276
0
ก.ค. 25
851
1
พ.ค. 25
1012