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

Hello 

I am trying to filter partner record by pos_order_count using a custom filter.


["pos_order_count","=",1]

Every attempt gives back all customers. What am I doing wrong here?


Thanks.

아바타
취소
베스트 답변

Hello Dimitri,

"The pos_order_count is a computed field in Odoo. Odoo's system currently restricts the direct application of filters on computed fields.

An alternative approach to achieve the desired filtering involves the following steps:

  1. Navigate to the list view of Point of Sale (POS) orders.
  2. In the search view, apply a 'Group By' operation on the 'Customer' field.
  3. **Utilize the sort functionality to identify and display only a single occurrence of the pos order for each distinct customer."

Thanks & Regards,

CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209

Email: info@candidroot.com

아바타
취소
작성자 베스트 답변

Thanks for your advice. But if using pos_order_count field is not able in domain filter how can I configure a specific automated action concerning only customers with a specific number of order?


Regards.

아바타
취소
관련 게시물 답글 화면 활동
2
9월 25
183
1
9월 25
339
1
8월 25
247
0
7월 25
1018
1
5월 25
1708