Skip to Content
Menú
This question has been flagged
2 Respostes
1448 Vistes

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

Avatar
Descartar
Autor Best Answer

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...

Avatar
Descartar
Best Answer

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

Avatar
Descartar