From 1ea8f728b00ea0bd6b669791ce1a5454a8172f6c 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_invoice_stock.rst | 1 + tests/scenario_account_invoice_stock_correction.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/scenario_account_invoice_stock.rst b/tests/scenario_account_invoice_stock.rst index 4be1a44394..b784dffe12 100644 --- a/tests/scenario_account_invoice_stock.rst +++ b/tests/scenario_account_invoice_stock.rst @@ -81,6 +81,7 @@ Create a shipment:: >>> move.from_location = output_loc >>> move.to_location = customer_loc >>> move.unit_price = Decimal('40.0000') + >>> move.currency = company.currency >>> shipment.click('wait') >>> shipment.state 'waiting' diff --git a/tests/scenario_account_invoice_stock_correction.rst b/tests/scenario_account_invoice_stock_correction.rst index a9bdb05c45..7cb3b3cfb0 100644 --- a/tests/scenario_account_invoice_stock_correction.rst +++ b/tests/scenario_account_invoice_stock_correction.rst @@ -86,6 +86,7 @@ Create a shipment:: >>> move.from_location = supplier_loc >>> move.to_location = input_loc >>> move.unit_price = Decimal('40.0000') + >>> move.currency = company.currency >>> shipment.click('receive') >>> shipment.state 'received'