콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6661 화면

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
3991
0
5월 20
1253
2
6월 15
36348
1
8월 25
108
0
7월 25
936