From 6d74bb36d7e3993fb2b132c878487a6a13f040de Mon Sep 17 00:00:00 2001 From: Maxime Richez Date: Thu, 29 Sep 2022 09:08:06 +0200 Subject: [PATCH] Remove default currency on stock move issue11512 review433171003 --- tests/scenario_account_stock_landed_cost.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scenario_account_stock_landed_cost.rst b/tests/scenario_account_stock_landed_cost.rst index 0cfacce6cf..3244991125 100644 --- a/tests/scenario_account_stock_landed_cost.rst +++ b/tests/scenario_account_stock_landed_cost.rst @@ -119,6 +119,7 @@ Receive 10 unit of the product @ 100:: >>> move.from_location = supplier_loc >>> move.to_location = input_loc >>> move.unit_price = Decimal('100') + >>> move.currency = company.currency >>> move = shipment.incoming_moves.new() >>> move.product = product2 @@ -126,6 +127,7 @@ Receive 10 unit of the product @ 100:: >>> move.from_location = supplier_loc >>> move.to_location = input_loc >>> move.unit_price = Decimal('10') + >>> move.currency = company.currency >>> move_empty = shipment.incoming_moves.new() >>> move_empty.product = product @@ -133,6 +135,7 @@ Receive 10 unit of the product @ 100:: >>> move_empty.from_location = supplier_loc >>> move_empty.to_location = input_loc >>> move_empty.unit_price = Decimal('100') + >>> move_empty.currency = company.currency >>> shipment.click('receive') >>> sorted([m.unit_price for m in shipment.incoming_moves if m.quantity])