Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/14/14, 5:46 PM|
|Seen: 1455 times|
|Last updated: 6/13/17, 9:26 AM|