diff options
| author | Olivier Dony <odo@openerp.com> | 2013-11-12 14:06:12 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-11-12 14:06:12 +0100 |
| commit | fe2fd41d7d12a9dcd8a7a2ac19aa9514366b767f (patch) | |
| tree | fd07e623f7ba715249a65eeead65a3d539ab2f78 | |
| parent | f08f16cb30d96c45f2f07265fd973bc2956afb2a (diff) | |
[FIX] procurement: order points must procure goods in the specifiedt warehouse
The default warehouse picked by procurements only works
for companies that only have on warehouse
bzr revid: odo@openerp.com-20131112130612-brmazfdghrh1ck7x
| -rw-r--r-- | addons/procurement/schedulers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/procurement/schedulers.py b/addons/procurement/schedulers.py index 07280b38ae7..c9b18dbccb4 100644 --- a/addons/procurement/schedulers.py +++ b/addons/procurement/schedulers.py @@ -197,6 +197,7 @@ class procurement_order(osv.osv): 'company_id': orderpoint.company_id.id, 'product_uom': orderpoint.product_uom.id, 'location_id': orderpoint.location_id.id, + 'warehouse_id': orderpoint.warehouse_id.id, 'procure_method': 'make_to_order', 'origin': orderpoint.name} |
