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

        issue11512
        review433171003
diffstat:

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

diffs (19 lines):

diff -r 35e26ad1673e -r b9a2b57ddc12 tests/scenario_stock_quantity_issue.rst
--- a/tests/scenario_stock_quantity_issue.rst   Mon May 02 17:16:53 2022 +0200
+++ b/tests/scenario_stock_quantity_issue.rst   Thu Sep 29 09:08:06 2022 +0200
@@ -69,6 +69,7 @@
     >>> move.from_location = supplier_loc
     >>> move.to_location = input_loc
     >>> move.unit_price = Decimal('5')
+    >>> move.currency = company.currency
     >>> move.planned_date = today
     >>> move.save()
 
@@ -89,6 +90,7 @@
     >>> move.from_location = output_loc
     >>> move.to_location = customer_loc
     >>> move.unit_price = Decimal('20')
+    >>> move.currency = company.currency
     >>> shipment_out1.save()
 
     >>> shipment_out2, = ShipmentOut.duplicate([shipment_out1])

Reply via email to