mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Revert "[FIX] delivery_ups_hibou: use shipping weight over calculated"
This reverts commit 682fb9f307.
This commit is contained in:
@@ -351,7 +351,7 @@ def patched_set_package_detail(self, client, packages, packaging_type, namespace
|
|||||||
package.PackageServiceOptions.COD.CODAmount.CurrencyCode = cod_info['currency']
|
package.PackageServiceOptions.COD.CODAmount.CurrencyCode = cod_info['currency']
|
||||||
|
|
||||||
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user