[tryton-debian-vcs] tryton-modules-stock-package-shipping-ups branch upstream updated. upstream/4.4.0-1-gf399fa2

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jul 2 17:57:27 UTC 2017


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-package-shipping-ups.git;a=commitdiff;h=upstream/4.4.0-1-gf399fa2

commit f399fa2a6fb9088a72e0b2ad2d35f217d77594cd
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jul 2 17:06:57 2017 +0200

    Adding upstream version 4.4.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index f24f5fc..63ba49a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-07-01
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.0 - 2017-05-01
 * Bug fixes (see mercurial logs for details)
 * Use total weight of package
diff --git a/PKG-INFO b/PKG-INFO
index 2958393..f2c62c4 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock_package_shipping_ups
-Version: 4.4.0
+Version: 4.4.1
 Summary: UPS connector for the Tryton application plateform
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/stock.py b/stock.py
index 2e01bee..e35ce4b 100644
--- a/stock.py
+++ b/stock.py
@@ -85,7 +85,7 @@ class ShipmentOut:
                         break
                 else:
                     self.raise_user_error('phone_required', {
-                            'party': self.customer.rec_name,
+                            'party': party.rec_name,
                             })
             if not self.shipping_description:
                 if (any(p.type.ups_code != '01' for p in self.root_packages)
@@ -249,7 +249,7 @@ class CreateShippingUPS(Wizard):
                 'AddressLine': (address.street or '').splitlines(),
                 'City': address.city,
                 'PostalCode': address.zip,
-                'CountryCode': address.country.code,
+                'CountryCode': address.country.code if address.country else '',
                 },
             }
 
diff --git a/tryton.cfg b/tryton.cfg
index 355a588..3e4820e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 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 6262dc7..73279f4 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.0
+Version: 4.4.1
 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