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

        issue11512
        review433171003
diffstat:

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

diffs (49 lines):

diff -r 4784b25e59aa -r f003802d4179 
tests/scenario_stock_location_move_empty.rst
--- a/tests/scenario_stock_location_move_empty.rst      Mon May 02 17:47:01 
2022 +0200
+++ b/tests/scenario_stock_location_move_empty.rst      Thu Sep 29 09:08:06 
2022 +0200
@@ -77,6 +77,7 @@
     >>> incoming_move.product = product1
     >>> incoming_move.quantity = 1
     >>> incoming_move.unit_price = Decimal('0')
+    >>> incoming_move.currency = company.currency
     >>> incoming_move.from_location = supplier_loc
     >>> incoming_move.to_location = storage1
     >>> incoming_move.effective_date = yesterday
@@ -86,6 +87,7 @@
     >>> incoming_move.product = product2
     >>> incoming_move.quantity = 1
     >>> incoming_move.unit_price = Decimal('0')
+    >>> incoming_move.currency = company.currency
     >>> incoming_move.from_location = supplier_loc
     >>> incoming_move.to_location = pallet1
     >>> incoming_move.effective_date = yesterday
@@ -95,6 +97,7 @@
     >>> incoming_move.product = product3
     >>> incoming_move.quantity = 2
     >>> incoming_move.unit_price = Decimal('0')
+    >>> incoming_move.currency = company.currency
     >>> incoming_move.from_location = supplier_loc
     >>> incoming_move.to_location = pallet2
     >>> incoming_move.effective_date = yesterday
@@ -110,18 +113,21 @@
     >>> move.product = product1
     >>> move.quantity = 1
     >>> move.unit_price = Decimal('0')
+    >>> move.currency = company.currency
     >>> move.from_location = output_loc
     >>> move.to_location = customer_loc
     >>> move = shipment.outgoing_moves.new()
     >>> move.product = product2
     >>> move.quantity = 1
     >>> move.unit_price = Decimal('0')
+    >>> move.currency = company.currency
     >>> move.from_location = output_loc
     >>> move.to_location = customer_loc
     >>> move = shipment.outgoing_moves.new()
     >>> move.product = product3
     >>> move.quantity = 1
     >>> move.unit_price = Decimal('0')
+    >>> move.currency = company.currency
     >>> move.from_location = output_loc
     >>> move.to_location = customer_loc
     >>> shipment.click('wait')

Reply via email to