跳至内容
菜单
此问题已终结
2 回复
1450 查看

Hello,

in a tree view (ie : sale.order), i would like to add a predetermined filter but with a value entered by the user.
Example filter:
"Orders with an amount greater than X"
And the user, choosing this filter, will be prompted to enter the value of X

Is it possible to do this in Odoo?

Thank you

形象
丢弃
编写者 最佳答案

Hi Cybrosis,

Yes I know this possibility but the problem is that you have to do it every time.
What I want to do is have a pre-determined filter in this list of filters.
And when I click on it, I have a popup that asks me the amount to compare.
So, with a single filter, it can be used to search for orders > 100 or >1000 or >xxxx etc...

形象
丢弃
最佳答案

Hi,

In odoo, Tree view has a filter option. By clicking this we have an option ‘Add custom filter”. From that, we can choose the filter.

For “ Orders with an amount greater than X “, from the custom filter, we can choose the total and can specify the amount. 

Regards

形象
丢弃