[tryton-debian-vcs] tryton-modules-stock-package-shipping-ups branch debian-stretch-4.4 updated. debian/4.4.1-3-5-ga3d0bd6
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 13 10:42:16 UTC 2017
The following commit has been merged in the debian-stretch-4.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-package-shipping-ups.git;a=commitdiff;h=debian/4.4.1-3-5-ga3d0bd6
commit a3d0bd67305ba60944ca24f299f223141c10da11
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Dec 12 19:07:16 2017 +0100
Releasing debian version 4.4.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 11e1628..530719c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-stock-package-shipping-ups (4.4.2-1) unstable; urgency=medium
+
+ * Bump the Standards-Version to 4.1.0, no changes needed.
+ * Bump the Standards-Version to 4.1.1, no changes needed.
+ * Setting the branch in the watch file to the fixed version 4.4.
+ * Merging upstream version 4.4.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Tue, 12 Dec 2017 19:07:16 +0100
+
tryton-modules-stock-package-shipping-ups (4.4.1-3) unstable; urgency=medium
* Switch to Python3.
commit 9175f906d0d839e19cbff9c354291537b8451c7f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Dec 12 19:07:15 2017 +0100
Merging upstream version 4.4.2.
diff --git a/CHANGELOG b/CHANGELOG
index 63ba49a..0211469 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.2 - 2017-12-04
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.1 - 2017-07-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index f2c62c4..40cb5b1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_package_shipping_ups
-Version: 4.4.1
+Version: 4.4.2
Summary: UPS connector for the Tryton application plateform
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/stock.py b/stock.py
index e35ce4b..fc49106 100644
--- a/stock.py
+++ b/stock.py
@@ -237,7 +237,7 @@ class CreateShippingUPS(Wizard):
return {
'RequestOption': 'validate',
'TransactionReference': {
- 'CustomerContext': shipment.number,
+ 'CustomerContext': (shipment.number or '')[:512],
},
}
@@ -246,9 +246,10 @@ class CreateShippingUPS(Wizard):
'Name': party.name[:35],
'AttentionName': party.name[:35],
'Address': {
- 'AddressLine': (address.street or '').splitlines(),
- 'City': address.city,
- 'PostalCode': address.zip,
+ 'AddressLine': [l[:35]
+ for l in (address.street or '').splitlines()[:3]],
+ 'City': address.city[:30],
+ 'PostalCode': (address.zip or '')[:9],
'CountryCode': address.country.code if address.country else '',
},
}
@@ -325,7 +326,7 @@ class CreateShippingUPS(Wizard):
'ShipmentRequest': {
'Request': self.get_request_container(shipment),
'Shipment': {
- 'Description': shipment.shipping_description,
+ 'Description': (shipment.shipping_description or '')[:50],
'Shipper': shipper,
'ShipTo': self.get_shipping_party(shipment.customer,
shipment.delivery_address),
diff --git a/tryton.cfg b/tryton.cfg
index 3e4820e..a5a7d11 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.1
+version=4.4.2
depends:
ir
res
diff --git a/trytond_stock_package_shipping_ups.egg-info/PKG-INFO b/trytond_stock_package_shipping_ups.egg-info/PKG-INFO
index 73279f4..9efb6fc 100644
--- a/trytond_stock_package_shipping_ups.egg-info/PKG-INFO
+++ b/trytond_stock_package_shipping_ups.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-package-shipping-ups
-Version: 4.4.1
+Version: 4.4.2
Summary: UPS connector for the Tryton application plateform
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-stock-package-shipping-ups
More information about the tryton-debian-vcs
mailing list