[tryton-debian-vcs] tryton-server branch debian-stretch-3.8 updated. debian/3.8.13-1-2-g5a7d4f5

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Aug 17 12:46:21 UTC 2017


The following commit has been merged in the debian-stretch-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/3.8.13-1-2-g5a7d4f5

commit 5a7d4f5cc75e27ff76e544a8081dc2ff7e26cfca
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Aug 17 12:57:24 2017 +0200

    Releasing debian version 3.8.14-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index c7942f0..bc0acbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-server (3.8.14-1) unstable; urgency=medium
+
+  * Merging upstream version 3.8.14.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Thu, 17 Aug 2017 12:57:24 +0200
+
 tryton-server (3.8.13-1) unstable; urgency=medium
 
   * Merging upstream version 3.8.13.
commit a829e68ec8e3efa6d26e54d425792ae065ae5b98
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Aug 17 12:57:23 2017 +0200

    Merging upstream version 3.8.14.

diff --git a/CHANGELOG b/CHANGELOG
index 3fc7fb0..4af3e26 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.14 - 2017-08-08
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.13 - 2017-07-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index a2d8b1b..17fb790 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.8.13
+Version: 3.8.14
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond.egg-info/PKG-INFO b/trytond.egg-info/PKG-INFO
index a2d8b1b..17fb790 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.8.13
+Version: 3.8.14
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index a9c1ca1..a7274a6 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
 import time
 from email import charset
 
-__version__ = "3.8.13"
+__version__ = "3.8.14"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff --git a/trytond/model/modelsql.py b/trytond/model/modelsql.py
index b88bfbb..7c43c32 100644
--- a/trytond/model/modelsql.py
+++ b/trytond/model/modelsql.py
@@ -576,13 +576,13 @@ class ModelSQL(ModelStorage):
 
         cls.__insert_history(new_ids)
 
+        field_names = cls._fields.keys()
+        cls._update_mptt(field_names, [new_ids] * len(field_names))
+
         records = cls.browse(new_ids)
         for sub_records in grouped_slice(records, cache_size()):
             cls._validate(sub_records)
 
-        field_names = cls._fields.keys()
-        cls._update_mptt(field_names, [new_ids] * len(field_names))
-
         cls.trigger_create(records)
         return records
 
diff --git a/trytond/tools/misc.py b/trytond/tools/misc.py
index 958c96a..8ffab9b 100644
--- a/trytond/tools/misc.py
+++ b/trytond/tools/misc.py
@@ -71,12 +71,14 @@ def file_open(name, mode="r", subdir='modules'):
             epoint = EGG_MODULES[module_name]
             mod_path = os.path.join(epoint.dist.location,
                     *epoint.module_name.split('.')[:-1])
+            mod_path = os.path.abspath(mod_path)
             egg_name = secure_join(mod_path, name)
             if not os.path.isfile(egg_name):
                 # Find module in path
                 for path in sys.path:
                     mod_path = os.path.join(path,
                             *epoint.module_name.split('.')[:-1])
+                    mod_path = os.path.abspath(mod_path)
                     egg_name = secure_join(mod_path, name)
                     if os.path.isfile(egg_name):
                         break
-- 
tryton-server



More information about the tryton-debian-vcs mailing list