details: https://code.tryton.org/tryton/commit/344b75def368
branch: 7.8
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 fef25d1b7504 -r 344b75def368 modules/web_shop_shopify/stock.py
--- a/modules/web_shop_shopify/stock.py Tue Nov 24 23:36:53 2026 +0000
+++ b/modules/web_shop_shopify/stock.py Thu Nov 12 13:51:33 2026 +0100
@@ -182,6 +182,8 @@
if fulfillment and self.packages:
numbers, urls = [], []
fulfillment['trackingInfo'] = {
+ 'company': (
+ self.carrier.party.rec_name if self.carrier else ''),
'numbers': numbers,
'urls': urls,
}