details: https://code.tryton.org/tryton/commit/980112777c0f
branch: 7.8
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 | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r a96e203d37b3 -r 980112777c0f 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
@@ -61,6 +61,7 @@
},
},
},
+ 'status': None,
},
},
})
@@ -202,6 +203,8 @@
quantity = int(Uom.compute_qty(
self.unit, self.quantity, self.origin.unit))
for fulfillment_order in fulfillment_orders['nodes']:
+ if fulfillment_order['status'] in {'CANCELLED', 'CLOSED'}:
+ continue
if (fulfillment_order['assignedLocation']['location']['id']
!= location_id):
continue