[tryton-debian-vcs] tryton-modules-party branch debian updated. debian/4.2.0-1-2-gae27623
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jan 5 10:52:15 UTC 2017
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-party.git;a=commitdiff;h=debian/4.2.0-1-2-gae27623
commit ae2762344b434de2b78a0f62ac1ade02ba9b5742
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 12:37:17 2017 +0100
Releasing debian version 4.2.1-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 8ec558d..2ff9b53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-party (4.2.1-1) unstable; urgency=medium
+
+ * Merging upstream version 4.2.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Wed, 04 Jan 2017 12:37:17 +0100
+
tryton-modules-party (4.2.0-1) unstable; urgency=medium
* Merging upstream version 4.2.0.
commit 9a252b8dc10249d0cbadf3280c323f853918dc70
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 12:37:16 2017 +0100
Merging upstream version 4.2.1.
diff --git a/CHANGELOG b/CHANGELOG
index 5c21b16..ec96470 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.0 - 2016-11-28
* Bug fixes (see mercurial logs for details)
* Add format to phone numbers
diff --git a/PKG-INFO b/PKG-INFO
index 32f4a19..80e6a6f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_party
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module with parties and addresses
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/address.py b/address.py
index 5061b23..cfd5b2d 100644
--- a/address.py
+++ b/address.py
@@ -138,6 +138,11 @@ class Address(sequence_ordered(), ModelSQL, ModelView):
'country': self.country.name if self.country else '',
'country_code': self.country.code if self.country else '',
}
+
+ # Map invalid substitutions district* to subdivision* on 4.2.
+ substitutions['district'] = substitutions['subdivision']
+ substitutions['district_code'] = substitutions['subdivision_code']
+
if context.get('address_from_country') == self.country:
substitutions['country'] = ''
if context.get('address_with_party', False):
diff --git a/tryton.cfg b/tryton.cfg
index 9231baf..21bd17e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.0
+version=4.2.1
depends:
country
ir
diff --git a/trytond_party.egg-info/PKG-INFO b/trytond_party.egg-info/PKG-INFO
index 3b95dc9..a067ece 100644
--- a/trytond_party.egg-info/PKG-INFO
+++ b/trytond_party.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-party
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module with parties and addresses
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-party
More information about the tryton-debian-vcs
mailing list