changeset bab9cc7ef7b4 in modules/stock_split:default
details: 
https://hg.tryton.org/modules/stock_split?cmd=changeset&node=bab9cc7ef7b4
description:
        Do not use move without quantity on scenario

        Inventory moves are only created when the outgoing moves have some 
quantity

        issue10288
        review351711003
diffstat:

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

diffs (12 lines):

diff -r 905c2ff95651 -r bab9cc7ef7b4 tests/scenario_stock_split_shipment.rst
--- a/tests/scenario_stock_split_shipment.rst   Sat Apr 10 23:46:24 2021 +0200
+++ b/tests/scenario_stock_split_shipment.rst   Mon Apr 19 16:40:51 2021 +0200
@@ -55,7 +55,7 @@
     >>> shipment1 = Shipment()
     >>> shipment1.customer = customer
 
-    >>> for i in range(2):
+    >>> for i in range(1, 3):
     ...     move = shipment1.outgoing_moves.new()
     ...     move.product = product
     ...     move.uom = unit

Reply via email to