details: https://code.tryton.org/tryton/commit/c0e2b51ed557
branch: 7.0
user: Cédric Krier <[email protected]>
date: Fri Jan 09 11:34:16 2026 +0100
description:
Do not try to fulfill on Shopify cancelled or closed fulfillment order
Closes #14479
(grafted from 1950c9a7b990c03a00d380d54c8989a527b52579)
diffstat:
modules/web_shop_shopify/stock.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r a192219ceb20 -r c0e2b51ed557 modules/web_shop_shopify/stock.py
--- a/modules/web_shop_shopify/stock.py Sat Jan 10 19:09:58 2026 +0100
+++ b/modules/web_shop_shopify/stock.py Fri Jan 09 11:34:16 2026 +0100
@@ -152,6 +152,8 @@
quantity = int(Uom.compute_qty(
self.unit, self.quantity, self.origin.unit))
for fulfillment_order in fulfillment_orders:
+ if fulfillment_order.status in {'cancelled', 'success'}:
+ continue
if fulfillment_order.assigned_location_id != location_id:
continue
for line_item in fulfillment_order.line_items: