mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
FIX delivery_stamps Requirement and API change/bug.
This commit is contained in:
@@ -16,6 +16,7 @@ Send your shippings through Stamps.com and track them online.
|
||||
""",
|
||||
'depends': [
|
||||
'delivery',
|
||||
'delivery_hibou',
|
||||
],
|
||||
'demo': [],
|
||||
'data': [
|
||||
|
||||
@@ -257,7 +257,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
|
||||
|
||||
Reference in New Issue
Block a user