[tryton-debian-vcs] tryton-server branch upstream-3.0 updated. upstream/3.0.5-1-g91294ba

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Aug 26 16:46:12 UTC 2014


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

commit 91294bacd3cd1ff00e7a71ad6c706dc18fef8783
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Aug 26 14:44:18 2014 +0200

    Adding upstream version 3.0.6.

diff --git a/CHANGELOG b/CHANGELOG
index bc534f5..0662f72 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.6 - 2014-08-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.5 - 2014-07-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 7dce04a..dc47e60 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.0.5
+Version: 3.0.6
 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 7dce04a..dc47e60 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.0.5
+Version: 3.0.6
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/model/fields/many2many.py b/trytond/model/fields/many2many.py
index 8a94044..958853c 100644
--- a/trytond/model/fields/many2many.py
+++ b/trytond/model/fields/many2many.py
@@ -242,6 +242,7 @@ class Many2Many(Field):
         Target = self.get_target()
         table, _ = tables[None]
         name, operator, ids = domain
+        ids = list(ids)  # Ensure it is a list for concatenation
 
         def get_child(ids):
             if not ids:
diff --git a/trytond/model/fields/many2one.py b/trytond/model/fields/many2one.py
index 84f5621..114d208 100644
--- a/trytond/model/fields/many2one.py
+++ b/trytond/model/fields/many2one.py
@@ -114,6 +114,7 @@ class Many2One(Field):
         Target = self.get_target()
         table, _ = tables[None]
         name, operator, ids = domain
+        ids = list(ids)  # Ensure it is a list for concatenation
 
         def get_child(ids):
             if not ids:
diff --git a/trytond/protocols/xmlrpc.py b/trytond/protocols/xmlrpc.py
index fd283ac..f96d936 100644
--- a/trytond/protocols/xmlrpc.py
+++ b/trytond/protocols/xmlrpc.py
@@ -55,7 +55,7 @@ def dump_time(self, value, write):
 
 xmlrpclib.Marshaller.dispatch[Decimal] = dump_decimal
 xmlrpclib.Marshaller.dispatch[type(None)] = \
-        lambda self, value, write: self.dump_bool(bool(value), write)
+        lambda self, value, write: write("<value><nil/></value>")
 xmlrpclib.Marshaller.dispatch[datetime.date] = dump_date
 xmlrpclib.Marshaller.dispatch[datetime.time] = dump_time
 xmlrpclib.Marshaller.dispatch[buffer] = dump_buffer
diff --git a/trytond/version.py b/trytond/version.py
index f02a4fc..4f845a5 100644
--- a/trytond/version.py
+++ b/trytond/version.py
@@ -1,6 +1,6 @@
 #This file is part of Tryton.  The COPYRIGHT file at the top level of
 #this repository contains the full copyright notices and license terms.
 PACKAGE = "trytond"
-VERSION = "3.0.5"
+VERSION = "3.0.6"
 LICENSE = "GPL-3"
 WEBSITE = "http://www.tryton.org/"
-- 
tryton-server



More information about the tryton-debian-vcs mailing list