← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Olivier Dony ,

 it has been fixed in branch lp:~openerp-dev/openobject-addons/ksa-addons2
 Revision NO - 3872 to 3877


Thanks.


** Changed in: openobject-addons
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/499533

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

Status in OpenObject Addons Modules:
  Fix Released

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,