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'