← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 499533] Re: [MRP] correct link between procurement orders and orderpoints (min stock rules)

 

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

-- 
[MRP] correct link between procurement orders and orderpoints (min stock rules)
https://bugs.launchpad.net/bugs/499533
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Several things need to be corrected in the Minimum stock rules / Order point (stock.warehouse.orderpoint):

1) stock.warehouse.orderpoint has a many2one relationship to a corresponding procurement orders. It should instead take into account all draft procurement orders that are valid for the corresponding product (and warehouse). So this relationship should be multiple. How about a function field for this?

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,