details:   https://code.tryton.org/tryton/commit/d4545f4a786f
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Fri Jan 09 11:29:24 2026 +0100
description:
        Add missing parameter to get_shopify of customer shipment with package 
shipping

        fulfillment_order_fields is a parameter of the extended method.

        Closes #14478
        (grafted from 391237759c5191f3c5d8619c38f4ebe1fcb1f65b)
diffstat:

 modules/web_shop_shopify/stock.py |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r f76135ab5918 -r d4545f4a786f modules/web_shop_shopify/stock.py
--- a/modules/web_shop_shopify/stock.py Wed Jan 07 11:19:07 2026 +0100
+++ b/modules/web_shop_shopify/stock.py Fri Jan 09 11:29:24 2026 +0100
@@ -170,8 +170,9 @@
 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'] = {

Reply via email to