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

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.

아바타
취소
베스트 답변

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