Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6644 Lượt xem

I want to get the items that are still not yet viewed. For example in 'Quotation'.

Ảnh đại diện
Huỷ bỏ

@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

Tác giả

Thanks Sir! :)

Câu trả lời hay nhất

@Samantha Cruz

Just search the model using this domain:

unread_ids = self.env['sale.order'].search([('message_unread', '=', True)])
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3983
0
thg 5 20
1250
2
thg 6 15
36328
1
thg 8 25
88
0
thg 7 25
897