changeset 6cff5c3f3b6b in modules/account_invoice_stock:default
details: 
https://hg.tryton.org/modules/account_invoice_stock?cmd=changeset&node=6cff5c3f3b6b
description:
        Remove default currency on stock move

        issue11512
        review433171003
diffstat:

 tests/scenario_account_invoice_stock.rst            |  1 +
 tests/scenario_account_invoice_stock_correction.rst |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 6a9eee6df649 -r 6cff5c3f3b6b tests/scenario_account_invoice_stock.rst
--- a/tests/scenario_account_invoice_stock.rst  Wed May 11 23:16:13 2022 +0200
+++ b/tests/scenario_account_invoice_stock.rst  Thu Sep 29 09:08:06 2022 +0200
@@ -81,6 +81,7 @@
     >>> 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 -r 6a9eee6df649 -r 6cff5c3f3b6b 
tests/scenario_account_invoice_stock_correction.rst
--- a/tests/scenario_account_invoice_stock_correction.rst       Wed May 11 
23:16:13 2022 +0200
+++ b/tests/scenario_account_invoice_stock_correction.rst       Thu Sep 29 
09:08:06 2022 +0200
@@ -86,6 +86,7 @@
     >>> 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'

Reply via email to