details:   https://code.tryton.org/tryton/commit/fe24f93d0fc8
branch:    8.2
user:      Cédric Krier <[email protected]>
date:      Thu Nov 12 13:51:33 2026 +0100
description:
        Fill company in tracking information of Shopify

        If the company is not set, Shopify tries to guess it.

        Closes #15236
        (grafted from 1f0f1b57de38297ffefdfa5d0e5e3dbbd1e50f1a)
diffstat:

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

diffs (12 lines):

diff -r 1e4a4c42fa91 -r fe24f93d0fc8 modules/web_shop_shopify/stock.py
--- a/modules/web_shop_shopify/stock.py Thu Nov 12 10:42:23 2026 +0100
+++ b/modules/web_shop_shopify/stock.py Thu Nov 12 13:51:33 2026 +0100
@@ -235,6 +235,8 @@
         if fulfillment and self.packages:
             numbers, urls = [], []
             fulfillment['trackingInfo'] = {
+                'company': (
+                    self.carrier.party.rec_name if self.carrier else ''),
                 'numbers': numbers,
                 'urls': urls,
                 }

Reply via email to