[tryton-debian-vcs] tryton-modules-project branch upstream updated. upstream/4.4.0-1-g7403c07
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Aug 17 12:37:21 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-project.git;a=commitdiff;h=upstream/4.4.0-1-g7403c07
commit 7403c07f4f53549cc9c26cf566945c4c9d703a18
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Aug 17 12:22:06 2017 +0200
Adding upstream version 4.4.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index dad43de..e13f9d3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-08-08
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 2045993..f09abe8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_project
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module with projects
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/tryton.cfg b/tryton.cfg
index d9569f9..a4faaa4 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
company_work_time
ir
diff --git a/trytond_project.egg-info/PKG-INFO b/trytond_project.egg-info/PKG-INFO
index 271e6a3..ec16f1f 100644
--- a/trytond_project.egg-info/PKG-INFO
+++ b/trytond_project.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-project
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module with projects
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/work.py b/work.py
index 7363e23..61a7a7b 100644
--- a/work.py
+++ b/work.py
@@ -84,9 +84,8 @@ class Work(sequence_ordered(), ModelSQL, ModelView):
left='left', right='right', ondelete='RESTRICT',
domain=[
('company', '=', Eval('company', -1)),
- ('id', '!=', Eval('id', -1)),
],
- depends=['company', 'id'])
+ depends=['company'])
left = fields.Integer('Left', required=True, select=True)
right = fields.Integer('Right', required=True, select=True)
children = fields.One2Many('project.work', 'parent', 'Children',
@@ -230,6 +229,7 @@ class Work(sequence_ordered(), ModelSQL, ModelView):
@classmethod
def validate(cls, works):
super(Work, cls).validate(works)
+ cls.check_recursion(works, rec_name='name')
for work in works:
work.check_state()
--
tryton-modules-project
More information about the tryton-debian-vcs
mailing list