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:
@@ -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'] = {
|
||||
|
||||
Reference in New Issue
Block a user