Skip to Content
Menu
This question has been flagged
1 Reply
5509 Views

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 ?

Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

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.

Author

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.

Related Posts Replies Views Activity
1
Jul 16
13467
3
Nov 20
6127
1
Jul 17
3920
0
Aug 16
2806
2
Mar 15
4159