details: https://code.tryton.org/tryton/commit/aa46db67c4a8
branch: 7.6
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 86d6bfab18df -r aa46db67c4a8 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
@@ -151,6 +151,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: