Odoo 17
Is there any way to set default search filter for each view?
I have a reviews page with a tree and graph view.
On the tree view i want to set the default search filter to "my_reviews" but on the graph i want it to filter ratings by default.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
This is not possible without custom code (probably JavaScript to update the Window Action context dynamically based on the View type).
The best you could do would be to create a second Menu with a different Window Action where you can have a different context than the first.
Remember that the step to change the filter will almost certainly become invisible (combined via muscle memory into a larger step) after Users have done it enough times, just like someone who drives a car makes the steps "move foot to the brake pedal" and "depress the brake pedal" and "move hand to the car ignition point" and "start the car" invisible (combined into one) after they have driven for a few weeks.
In other words, such a change doesn't seem to have a high return on investment.
I see. Thank you for the response
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up