Do not set more than the fulfillable quantity in Shopify fulfillment

Closes #13956
This commit is contained in:
Cédric Krier
2025-04-02 17:29:47 +02:00
parent 2f701eb054
commit 703223faf7
-1
View File
@@ -155,7 +155,6 @@ class Move(metaclass=PoolMeta):
for line_item in fulfillment_order.line_items:
if line_item.line_item_id == identifier:
qty = min(quantity, line_item.fulfillable_quantity)
qty = quantity
yield fulfillment_order.id, {
'id': line_item.id,
'quantity': qty,