details: https://code.tryton.org/tryton/commit/ed16777f09a9
branch: default
user: Cédric Krier <[email protected]>
date: Tue Feb 10 19:22:32 2026 +0100
description:
Assign shipment before pick in Shopify test scenario
diffstat:
modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst | 2
++
modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst | 3
+++
2 files changed, 5 insertions(+), 0 deletions(-)
diffs (46 lines):
diff -r 3e48403b82b8 -r ed16777f09a9
modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst
--- a/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst Tue Feb
10 18:06:00 2026 +0100
+++ b/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst Tue Feb
10 19:22:32 2026 +0100
@@ -622,6 +622,7 @@
>>> shipment, = sale.shipments
>>> move, = [m for m in shipment.inventory_moves if m.product == variant1]
>>> move.quantity = 3
+ >>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')
>>> shipment.click('do')
@@ -643,6 +644,7 @@
Ship and cancel remaining shipment::
>>> shipment, = [s for s in sale.shipments if s.state != 'done']
+ >>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')
>>> shipment.click('ship')
diff -r 3e48403b82b8 -r ed16777f09a9
modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
--- a/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
Tue Feb 10 18:06:00 2026 +0100
+++ b/modules/web_shop_shopify/tests/scenario_web_shop_shopify_product_kit.rst
Tue Feb 10 19:22:32 2026 +0100
@@ -225,6 +225,7 @@
... move.quantity = 4
... else:
... move.quantity = 0
+ >>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')
>>> shipment.click('do')
@@ -248,6 +249,7 @@
... move.quantity = 0
... else:
... move.quantity = 10
+ >>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')
>>> shipment.click('do')
@@ -266,6 +268,7 @@
>>> sale.reload()
>>> _, _, shipment = sale.shipments
+ >>> shipment.click('assign_force')
>>> shipment.click('pick')
>>> shipment.click('pack')
>>> shipment.click('do')