[tryton-debian-vcs] tryton-server branch upstream-3.8 updated. upstream/3.8.15-1-g127f688
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 13 10:43:35 UTC 2017
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=upstream/3.8.15-1-g127f688
commit 127f6880380e7f6fefc047782f4e69da99dfe429
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Dec 12 19:20:45 2017 +0100
Adding upstream version 3.8.16.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 1e6b621..ff83cec 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.16 - 2017-12-04
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.15 - 2017-11-07
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 7f55a8f..911a41c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 3.8.15
+Version: 3.8.16
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 7f55a8f..911a41c 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.15
+Version: 3.8.16
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index b78aad1..151ffcf 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
import time
from email import charset
-__version__ = "3.8.15"
+__version__ = "3.8.16"
os.environ['TZ'] = 'UTC'
if hasattr(time, 'tzset'):
diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py
index b4805b8..1d1b995 100644
--- a/trytond/model/modelstorage.py
+++ b/trytond/model/modelstorage.py
@@ -1408,7 +1408,7 @@ class ModelStorage(Model):
to_write = []
for target in targets:
if target.id < 0:
- if field._type == 'one2many':
+ if field._type == 'one2many' and field.field:
# Don't store old target link
setattr(target, field.field, None)
to_create.append(target._save_values)
diff --git a/trytond/model/modelview.py b/trytond/model/modelview.py
index 541b258..4051c9d 100644
--- a/trytond/model/modelview.py
+++ b/trytond/model/modelview.py
@@ -717,6 +717,7 @@ class ModelView(Model):
del value['remove']
if not value:
continue
+ value = dict(value)
elif field._type == 'many2many':
value = [r.id for r in value]
changed[fname] = value
--
tryton-server
More information about the tryton-debian-vcs
mailing list