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

When I save a custom filter in Menu Sales/Customer and set it as default ...

then go into Purchases/Suppliers the same default filter is in there as when in customers.

I assume this is because customers and suppliers are from the same place in the database, the only difference is whether the customer or supplier check box is selected.

The question is: Is there a way to set different default filters for the customer section and the supplier section through GUI not from code ?

아바타
취소
베스트 답변

Hello,

you pointed out an interesting issue. In fact, from a user point of view, this a bug and I suggest you to record it at Lanchpad.

To answer your question, the only way to do achieve what you want without any coding is to modify the views in the interface.

Here the procedure to modify the default filter for Sales\Customers:

  • go to Settings\Technical\User interface\Menu Items;
  • search for Customers and select Sales\Sales\Customer;
  • edit this menu;
  • in the form, edit the action "Customers" by clicking on its icon on the right;
  • you can now modify the context value;
  • save the action and then the menu;
  • test !

Marc

PS: please vote if you find this answer useful.

아바타
취소
작성자

I tried same. I did changes in context value of respected menu llike [('customer','=',True)] but it is not working properly. That newly created filter is still appear there.

작성자

We discussed this issue with Open ERP support they told us same solution. They also told that it may be not a bug of Open ERP. This is how open ERP is working. Giving more Flexibility in Functionality.

관련 게시물 답글 화면 활동
1
7월 16
13724
3
11월 20
6309
1
7월 17
4144
0
8월 16
2994
2
3월 15
4288