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:
aed2283
)
[FIX] stock: prepare partial when top_lvl_package is used
author
Quentin (OpenERP)
<qdp-launchpad@openerp.com>
Tue, 11 Mar 2014 16:01:11 +0000
(17:01 +0100)
committer
Quentin (OpenERP)
<qdp-launchpad@openerp.com>
Tue, 11 Mar 2014 16:01:11 +0000
(17:01 +0100)
bzr revid: qdp-launchpad@openerp.com-
20140311160111
-ed895thk06fg6da6
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
794958b
..
3db4d00
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-997,7
+997,7
@@
class stock_picking(osv.osv):
'package_id': pack.id,
'product_qty': 1.0,
'location_id': pack.location_id.id,
- 'location_dest_id': quants_suggested_locations[pack_quants[0]],
+ 'location_dest_id': quants_suggested_locations[quant_obj.browse(cr, uid, pack_quants[0], context=context)],
})
#remove the quants inside the package so that they are excluded from the rest of the computation
for quant in quant_obj.browse(cr, uid, pack_quants, context=context):