From ae14890f774cead301ffafd951f166fda5c3c474 Mon Sep 17 00:00:00 2001 From: Maxime Richez Date: Mon, 12 Oct 2020 23:19:54 +0200 Subject: [PATCH] Add picked step to customer shipment workflow issue9634 review329071002 --- tests/scenario_sale_over_shipment_tolerance.rst | 3 ++- tests/scenario_sale_under_shipment_tolerance.rst | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/scenario_sale_over_shipment_tolerance.rst b/tests/scenario_sale_over_shipment_tolerance.rst index 61531843c9..a8534ac862 100644 --- a/tests/scenario_sale_over_shipment_tolerance.rst +++ b/tests/scenario_sale_over_shipment_tolerance.rst @@ -83,7 +83,7 @@ Prevent over ship 13 products:: >>> move.quantity = 13 >>> shipment.click('wait') >>> shipment.click('assign_force') - >>> shipment.click('pack') # doctest: +IGNORE_EXCEPTION_DETAIL + >>> shipment.click('pick') # doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): ... OverShipmentWarning: ... @@ -96,6 +96,7 @@ Over ship 12 products:: >>> move.quantity = 12 >>> shipment.click('wait') >>> shipment.click('assign_force') + >>> shipment.click('pick') >>> shipment.click('pack') >>> shipment.click('done') diff --git a/tests/scenario_sale_under_shipment_tolerance.rst b/tests/scenario_sale_under_shipment_tolerance.rst index 337b243647..83caf4642b 100644 --- a/tests/scenario_sale_under_shipment_tolerance.rst +++ b/tests/scenario_sale_under_shipment_tolerance.rst @@ -81,6 +81,7 @@ Under ship 5 products:: >>> move, = shipment.inventory_moves >>> move.quantity = 5 >>> shipment.click('assign_force') + >>> shipment.click('pick') >>> shipment.click('pack') >>> shipment.click('done') @@ -91,6 +92,7 @@ Under ship 4 products:: >>> move, = shipment.inventory_moves >>> move.quantity = 4 >>> shipment.click('assign_force') + >>> shipment.click('pick') >>> shipment.click('pack') >>> shipment.click('done')