Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
868 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
авг. 25
119
0
июл. 25
940
1
мая 25
1653
ADD PROPERTIES Решено
1
мая 25
3089
2
мар. 25
1538