Merge branch 'fix/12.0/delivery_stamps__dimweight' into '12.0'

fix/12.0/delivery_stamps__dimweight into 12.0

See merge request hibou-io/hibou-odoo/suite!795
This commit is contained in:
Jared Kipe
2021-02-09 20:16:36 +00:00

View File

@@ -274,7 +274,8 @@ class ProviderStamps(models.Model):
shipping.Amount = rate.Amount
shipping.ServiceType = rate.ServiceType
shipping.DeliverDays = rate.DeliverDays
shipping.DimWeighting = rate.DimWeighting
if hasattr(rate, 'DimWeighting'):
shipping.DimWeighting = rate.DimWeighting
shipping.Zone = rate.Zone
shipping.RateCategory = rate.RateCategory
shipping.ToState = rate.ToState