[FIX] stock

bzr revid: qdp-launchpad@openerp.com-20140422202123-5axnua7uuk64zzwj
This commit is contained in:
Quentin (OpenERP)
2014-04-22 22:21:23 +02:00
parent 44f1f7f73e
commit 11a2ac0976
+1 -1
View File
@@ -406,7 +406,7 @@ class stock_quant(osv.osv):
for quant in tmp_quants:
if quant[0]:
res_qty -= quant[1]
quants += unprefered_quants
quants += tmp_quants
return quants
def quants_get(self, cr, uid, location, product, qty, domain=None, restrict_lot_id=False, restrict_partner_id=False, context=None):