Revert "[FIX] delivery_ups_hibou: use shipping weight over calculated"

This reverts commit 4a843c314f.
This commit is contained in:
Jared Kipe
2022-06-27 08:05:22 -07:00
parent 4a843c314f
commit 0d6c668fc2

View File

@@ -403,7 +403,7 @@ def patched_set_package_detail(self, client, packages, packaging_type, ship_from
package.PackageWeight = self.factory_ns2.PackageWeightType() package.PackageWeight = self.factory_ns2.PackageWeightType()
package.PackageWeight.UnitOfMeasurement = MeasurementType() package.PackageWeight.UnitOfMeasurement = MeasurementType()
package.PackageWeight.UnitOfMeasurement.Code = p.weight_unit or '' 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 # Package and shipment reference text is only allowed for shipments within
# the USA and within Puerto Rico. This is a UPS limitation. # the USA and within Puerto Rico. This is a UPS limitation.