projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08f16c
)
[FIX] procurement: order points must procure goods in the specifiedt warehouse
author
Olivier Dony
<odo@openerp.com>
Tue, 12 Nov 2013 13:06:12 +0000
(14:06 +0100)
committer
Olivier Dony
<odo@openerp.com>
Tue, 12 Nov 2013 13:06:12 +0000
(14:06 +0100)
The default warehouse picked by procurements only works
for companies that only have on warehouse
bzr revid: odo@openerp.com-
20131112130612
-brmazfdghrh1ck7x
addons/procurement/schedulers.py
patch
|
blob
|
history
diff --git
a/addons/procurement/schedulers.py
b/addons/procurement/schedulers.py
index
07280b3
..
c9b18db
100644
(file)
--- 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}