Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5696 Widoki

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 ?

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

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.

Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 16
13705
3
lis 20
6288
1
lip 17
4126
0
sie 16
2978
2
mar 15
4272