Add missing parameter to get_shopify of customer shipment with package shipping

fulfillment_order_fields is a parameter of the extended method.

Closes #14478
This commit is contained in:
Cédric Krier
2026-01-09 11:29:24 +01:00
parent 7f92861a80
commit 6ef9085289
+3 -2
View File
@@ -170,8 +170,9 @@ class ShipmentShopifyIdentifier(IdentifierMixin, ModelSQL, ModelView):
class ShipmentOut_PackageShipping(metaclass=PoolMeta):
__name__ = 'stock.shipment.out'
def get_shopify(self, sale):
fulfillment = super().get_shopify(sale)
def get_shopify(self, sale, fulfillment_order_fields=None):
fulfillment = super().get_shopify(
sale, fulfillment_order_fields=fulfillment_order_fields)
if fulfillment and self.packages:
numbers, urls = [], []
fulfillment['trackingInfo'] = {