diff --git a/addons/stock/test/packing.yml b/addons/stock/test/packing.yml index c85e2b0d769..3be5b9038c6 100644 --- a/addons/stock/test/packing.yml +++ b/addons/stock/test/packing.yml @@ -106,7 +106,7 @@ for rec in delivery_id.pack_operation_ids: if rec.package_id.name == 'Pallet 2': lot_ids = self.pool.get("stock.production.lot").search(cr, uid, [('product_id', '=', ref('product1')), ('name','=','Lot A')]) - stock_pack.write(cr, uid, [rec.id], {'product_id': ref('product1'), 'product_qty': 20, 'lot_id': lot_ids[0], 'package_id': False, 'product_uom_id': ref('product.product_uom_unit')}, context=context) + stock_pack.write(cr, uid, [rec.id], {'product_id': ref('product1'), 'product_qty': 20, 'lot_id': lot_ids[0], 'product_uom_id': ref('product.product_uom_unit')}, context=context) if rec.package_id.name == 'Pallet 3': stock_pack.write(cr, uid, [rec.id], {'product_id': ref('product1'),'product_qty': 10, 'product_uom_id': ref('product.product_uom_unit')}, context=context) -