[IMP] Quant should be transferred as a whole
bzr revid: jco@openerp.com-20140217143222-scplxx05xhrct52w
This commit is contained in:
parent
ce657e58fe
commit
f546ce8ad3
|
@ -106,7 +106,7 @@
|
|||
elif rec.lot_id.name == 'Lot neg' and rec.location_id.id == ref('stock_location_customers'):
|
||||
assert ((rec.qty == 20 or rec.qty == 120) and not rec.package_id), "Should have 140 pieces (120+20) in customer location from pallet 2 and lot A"
|
||||
elif rec.package_id.name == 'Palneg 3' and rec.location_id.id == ref('stock_location_stock'):
|
||||
assert rec.qty == 30 or rec.qty == 20, "Should have 30 and 20 pieces in stock on pallet 3"
|
||||
assert rec.qty == 50, "Should have 30 and 20 pieces in stock on pallet 3"
|
||||
elif not rec.package_id and not rec.lot_id and rec.location_id.id == ref('stock_location_customers'):
|
||||
assert rec.qty == 10, "Should have 10 pieces in customer location from pallet 3"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue