[tryton-debian-vcs] tryton-modules-sale-complaint branch upstream-4.0 updated. upstream/4.0.1-1-gec8f889
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jan 5 10:55:24 UTC 2017
The following commit has been merged in the upstream-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-complaint.git;a=commitdiff;h=upstream/4.0.1-1-gec8f889
commit ec8f8897dd64a4db2cd5ab7cd1b5b9268c7daa8d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 13:05:32 2017 +0100
Adding upstream version 4.0.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 0c3f449..0ea5b11 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2017-01-03
+* 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 336f036..53f4349 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_sale_complaint
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module for sale complaint
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/complaint.py b/complaint.py
index d4b7dd6..0a51d16 100644
--- a/complaint.py
+++ b/complaint.py
@@ -368,7 +368,7 @@ class Action(ModelSQL, ModelView):
@fields.depends('complaint')
def on_change_with_unit(self, name=None):
- if self.complaint.origin_model == 'sale.line':
+ if self.complaint and self.complaint.origin_model == 'sale.line':
return self.complaint.origin.unit.id
@fields.depends('complaint')
diff --git a/tryton.cfg b/tryton.cfg
index 2dd4294..148ee06 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.1
+version=4.0.2
depends:
account_invoice
company
diff --git a/trytond_sale_complaint.egg-info/PKG-INFO b/trytond_sale_complaint.egg-info/PKG-INFO
index fabf4b1..152f6f6 100644
--- a/trytond_sale_complaint.egg-info/PKG-INFO
+++ b/trytond_sale_complaint.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-sale-complaint
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module for sale complaint
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-sale-complaint
More information about the tryton-debian-vcs
mailing list