From 19a7824efaecdd0dca80aea6e90ee4a7a68815d6 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Tue, 21 Jun 2022 16:15:20 +0000 Subject: [PATCH 1/2] bump hiboubox --- external/hiboubox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/hiboubox b/external/hiboubox index db682ab7..bd91a9b7 160000 --- a/external/hiboubox +++ b/external/hiboubox @@ -1 +1 @@ -Subproject commit db682ab7e9afd291e776ddb42ce3cd7cd3ed4cc0 +Subproject commit bd91a9b70d9af874aee39e2a11ad5481ecfee39d From b47b76ae6ace458a549ca1643ff24e610bbcea06 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Tue, 21 Jun 2022 16:16:25 +0000 Subject: [PATCH 2/2] [FIX] delivery_ups_hibou: use shipping weight over calculated --- delivery_ups_hibou/models/ups_request_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delivery_ups_hibou/models/ups_request_patch.py b/delivery_ups_hibou/models/ups_request_patch.py index 60d2c73e..90911774 100644 --- a/delivery_ups_hibou/models/ups_request_patch.py +++ b/delivery_ups_hibou/models/ups_request_patch.py @@ -403,7 +403,7 @@ def patched_set_package_detail(self, client, packages, packaging_type, ship_from package.PackageWeight = self.factory_ns2.PackageWeightType() package.PackageWeight.UnitOfMeasurement = MeasurementType() package.PackageWeight.UnitOfMeasurement.Code = p.weight_unit or '' - package.PackageWeight.Weight = p.weight or '' + package.PackageWeight.Weight = p.shipping_weight or p.weight or '' # Package and shipment reference text is only allowed for shipments within # the USA and within Puerto Rico. This is a UPS limitation.