diff --git a/tests/scenario_quality_test_stock.rst b/tests/scenario_quality_test_stock.rst index dcf1075..d7952ce 100644 --- a/tests/scenario_quality_test_stock.rst +++ b/tests/scenario_quality_test_stock.rst @@ -160,7 +160,7 @@ Add three shipment lines of product 1:: >>> StockMove = Model.get('stock.move') >>> move = shipment_in.incoming_moves.new() >>> move.product = product - >>> move.uom = unit + >>> move.unit = unit >>> move.quantity = 1 >>> move.from_location = supplier_loc >>> move.to_location = input_loc @@ -195,7 +195,7 @@ Add three shipment lines of product 1:: >>> StockMove = Model.get('stock.move') >>> move = shipment_out.outgoing_moves.new() >>> move.product = product - >>> move.uom = unit + >>> move.unit = unit >>> move.quantity = 1 >>> move.from_location = supplier_loc >>> move.to_location = input_loc diff --git a/tests/scenario_quality_test_stock_lot.rst b/tests/scenario_quality_test_stock_lot.rst index a383ba1..10b36b8 100644 --- a/tests/scenario_quality_test_stock_lot.rst +++ b/tests/scenario_quality_test_stock_lot.rst @@ -161,7 +161,7 @@ Add three shipment lines of product 1:: >>> lot.save() >>> move = shipment_in.incoming_moves.new() >>> move.product = product - >>> move.uom = unit + >>> move.unit = unit >>> move.quantity = 1 >>> move.lot = lot >>> move.from_location = supplier_loc @@ -201,7 +201,7 @@ Add shipment lines of product 1:: >>> for move in shipment_out.outgoing_moves: ... move.product = product ... move.lot = lot - ... move.uom = unit + ... move.unit = unit ... move.quantity = 1 ... move.from_location = output_loc ... move.to_location = customer_loc diff --git a/tests/scenario_quality_test_stock_lot_production.rst b/tests/scenario_quality_test_stock_lot_production.rst index e8979ba..247f57e 100644 --- a/tests/scenario_quality_test_stock_lot_production.rst +++ b/tests/scenario_quality_test_stock_lot_production.rst @@ -163,7 +163,7 @@ Make a production:: >>> for move in production.outputs: ... move.product = product ... move.lot = lot - ... move.uom = unit + ... move.unit = unit ... move.quantity = 1 ... move.from_location = production_loc ... move.to_location = storage_loc