[tryton-debian-vcs] tryton-modules-product branch upstream updated. upstream/4.0.1-1-g9c2ba3c
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Nov 8 09:30:31 UTC 2016
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product.git;a=commitdiff;h=upstream/4.0.1-1-g9c2ba3c
commit 9c2ba3c700facaa6f4cbb86cdaa59f8469950436
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Nov 8 09:45:14 2016 +0100
Adding upstream version 4.0.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index cfd4198..db387bb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-11-06
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.1 - 2016-05-11
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index bdfa482..ea3176a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_product
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module with products
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/product.py b/product.py
index fbad8ab..79634c1 100644
--- a/product.py
+++ b/product.py
@@ -219,7 +219,7 @@ class Product(ModelSQL, ModelView):
for name, field in self._fields.iteritems():
if isinstance(field, TemplateFunction):
if self.template:
- value = getattr(self.template, name)
+ value = getattr(self.template, name, None)
else:
value = None
setattr(self, name, value)
diff --git a/tryton.cfg b/tryton.cfg
index dcb6424..695114f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.1
+version=4.0.2
depends:
ir
res
diff --git a/trytond_product.egg-info/PKG-INFO b/trytond_product.egg-info/PKG-INFO
index 390af3f..1012186 100644
--- a/trytond_product.egg-info/PKG-INFO
+++ b/trytond_product.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-product
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module with products
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-product
More information about the tryton-debian-vcs
mailing list