[FIX] stock
bzr revid: qdp-launchpad@openerp.com-20140422202123-5axnua7uuk64zzwj
This commit is contained in:
parent
44f1f7f73e
commit
11a2ac0976
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue