From 0d6c668fc2f76e6fc9ae4b4c237506862984aff0 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Mon, 27 Jun 2022 08:05:22 -0700 Subject: [PATCH] Revert "[FIX] delivery_ups_hibou: use shipping weight over calculated" This reverts commit 4a843c314f74ce085d7d43235af11bb3fee22689. --- 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 68236c3c..c93a82a3 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.shipping_weight or p.weight or '' + package.PackageWeight.Weight = 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.