c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03158
[Bug 499533] Re: [MRP] correct link between procurement orders and orderpoints (min stock rules)
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.
** Changed in: openobject-addons
Importance: Wishlist => Medium
** Changed in: openobject-addons
Milestone: 2009-12 => None
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
[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,