[tryton-debian-vcs] tryton-server branch upstream updated. upstream/3.6.2-1-g807050e

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Sep 21 12:35:11 UTC 2015


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

commit 807050e3999dd28b76f7864684affa00dd7eeb64
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Sep 20 21:06:13 2015 +0200

    Adding upstream version 3.6.3.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 0a8a464..fcdd386 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.3 - 2015-09-07
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.2 - 2015-07-13
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 6be4fae..061bee8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.6.2
+Version: 3.6.3
 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 6be4fae..061bee8 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.6.2
+Version: 3.6.3
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index 648a1a7..3ddf272 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
 import time
 from email import charset
 
-__version__ = "3.6.2"
+__version__ = "3.6.3"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff --git a/trytond/model/modelsql.py b/trytond/model/modelsql.py
index 71acbfe..8a76e54 100644
--- a/trytond/model/modelsql.py
+++ b/trytond/model/modelsql.py
@@ -761,7 +761,7 @@ class ModelSQL(ModelStorage):
         all_field_names = set()
 
         # Call before cursor cache cleaning
-        trigger_eligibles = cls.trigger_write_get_eligibles(records)
+        trigger_eligibles = cls.trigger_write_get_eligibles(all_records)
 
         super(ModelSQL, cls).write(records, values, *args)
 
diff --git a/trytond/model/modelview.py b/trytond/model/modelview.py
index 5f74fbc..8838bf3 100644
--- a/trytond/model/modelview.py
+++ b/trytond/model/modelview.py
@@ -686,7 +686,9 @@ class ModelView(Model):
             return changed
         for fname, value in self._values.iteritems():
             field = self._fields[fname]
-            if (value == init_values.get(fname)
+            # Always test key presence in case value is None
+            if (fname in init_values
+                    and value == init_values[fname]
                     and field._type != 'one2many'):
                 continue
             if field._type in ('many2one', 'one2one', 'reference'):
-- 
tryton-server



More information about the tryton-debian-vcs mailing list