When I deactivate a reordering rule for a product, it disappears from all Reordering Rule lists.
I was able to make a default filter in Warehouse>Reordering Rules that shows both active and inactive rules. Along with showing an "Active" column and checkbox for each rule.
The "Active" column carries over but the filter does not carry over when I use the [Reordering Rules] button from the product view.
I have searched for a long time for an answer to this issue, and tried many things but only able to make them work per product. Could someone tell me how I would add a filter that would cover all products reordering rules?
Below is the closest I have come to a working solution. Is there a variable for product_id I can use? Replace 8 with Variable(id of current product). I am new to odoo and still learning the structure. Maybe I am going about it all wrong also.
Change the action window default domain for reordering rules:
1. Make sure you have the technical settings enabled in settings=>User=>Administrator
2. Go to Settings=>Technical=>Actions=>Window Actions
3. Search for "stock.warehouse.orderpoint". You get 3 of them corresponding to the different ways you can get to the reordering rule list (from a warehouse, from a product and in the configuration submenu in "warehouse" application).
4. Modify the domain to ['|',('active','=',True),('active','!=',True)] on each and save
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/14/14, 5:46 PM|
|Seen: 1066 times|
|Last updated: 3/16/15, 8:10 AM|