[MRP] correct link between procurement orders and orderpoints (min stock rules)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
Several things need to be corrected in the Minimum stock rules / Order point (stock.
1) stock.warehouse
2) all relevant draft procurement orders (targets of the relationship defined above) should be taken into account when deciding whether a minimum stock rule needs to generate a new procurement order (in the orderpoint scheduler)
3) in any case, the field linking to procurement ids should be named appropriately, e.g "Related Procurement Orders" and certainly not "Purchase Order", as the procurement_id field is currently named.
Thanks,
Changed in openobject-addons: | |
milestone: | none → 6.0-rc2 |
For 1. I propose the replace the relation into a many2many on the procurement to the purchase orders. Change the computation to take into account all draft PO.