Hello community,

here is the log from the commit of package trytond for openSUSE:Factory checked 
in at 2018-05-15 10:13:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond (Old)
 and      /work/SRC/openSUSE:Factory/.trytond.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond"

Tue May 15 10:13:57 2018 rev:19 rq:606649 version:4.2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond/trytond.changes  2018-04-30 
22:58:24.449624092 +0200
+++ /work/SRC/openSUSE:Factory/.trytond.new/trytond.changes     2018-05-15 
10:33:33.203854503 +0200
@@ -1,0 +2,5 @@
+Sat May 12 12:59:31 UTC 2018 - axel.br...@gmx.de
+
+- Version 4.2.11 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond-4.2.10.tar.gz

New:
----
  trytond-4.2.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond.spec ++++++
--- /var/tmp/diff_new_pack.OEMu1E/_old  2018-05-15 10:33:33.727835259 +0200
+++ /var/tmp/diff_new_pack.OEMu1E/_new  2018-05-15 10:33:33.731835112 +0200
@@ -20,7 +20,7 @@
 %define majorver 4.2
 %define base_name tryton
 Name:           trytond
-Version:        %{majorver}.10
+Version:        %{majorver}.11
 Release:        0
 
 Summary:        An Enterprise Resource Planning (ERP) system

++++++ trytond-4.2.10.tar.gz -> trytond-4.2.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/.hgtags new/trytond-4.2.11/.hgtags
--- old/trytond-4.2.10/.hgtags  2018-03-01 22:50:27.000000000 +0100
+++ new/trytond-4.2.11/.hgtags  2018-05-07 23:07:40.000000000 +0200
@@ -25,3 +25,4 @@
 6162731451b1515b645a72332d19c4e83e207f15 4.2.8
 1f035cc6f6bc9af970d6db658c1acb3b0b211916 4.2.9
 85cd8ba33305eb48db50a52d7d8eb473f6387850 4.2.10
+0da6fb844986da58c8fff6eacd54ee8ba0708cf7 4.2.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/CHANGELOG new/trytond-4.2.11/CHANGELOG
--- old/trytond-4.2.10/CHANGELOG        2018-03-01 22:50:27.000000000 +0100
+++ new/trytond-4.2.11/CHANGELOG        2018-05-07 23:07:39.000000000 +0200
@@ -1,3 +1,6 @@
+Version 4.2.11 - 2018-05-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.10 - 2018-03-01
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/PKG-INFO new/trytond-4.2.11/PKG-INFO
--- old/trytond-4.2.10/PKG-INFO 2018-03-01 22:50:28.000000000 +0100
+++ new/trytond-4.2.11/PKG-INFO 2018-05-07 23:07:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 4.2.10
+Version: 4.2.11
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/doc/ref/models/models.rst 
new/trytond-4.2.11/doc/ref/models/models.rst
--- old/trytond-4.2.10/doc/ref/models/models.rst        2017-05-03 
18:52:26.000000000 +0200
+++ new/trytond-4.2.11/doc/ref/models/models.rst        2018-05-07 
23:07:37.000000000 +0200
@@ -451,7 +451,7 @@
         No access rights are verified and the records are not validated.
     ..
 
-.. classmethod:: ModelStorage.search(domain[, offset[, limit[, order[, count[, 
query]]]]])
+.. classmethod:: ModelSQL.search(domain[, offset[, limit[, order[, count[, 
query]]]]])
 
     Return a list of records that match the :ref:`domain <topics-domain>` or
     the sql query if query is True.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/trytond/__init__.py 
new/trytond-4.2.11/trytond/__init__.py
--- old/trytond-4.2.10/trytond/__init__.py      2018-01-04 23:50:07.000000000 
+0100
+++ new/trytond-4.2.11/trytond/__init__.py      2018-03-01 22:50:59.000000000 
+0100
@@ -5,7 +5,7 @@
 import logging
 from email import charset
 
-__version__ = "4.2.10"
+__version__ = "4.2.11"
 logger = logging.getLogger(__name__)
 
 os.environ['TZ'] = 'UTC'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/trytond/pyson.py 
new/trytond-4.2.11/trytond/pyson.py
--- old/trytond-4.2.10/trytond/pyson.py 2017-05-03 18:52:26.000000000 +0200
+++ new/trytond-4.2.11/trytond/pyson.py 2018-05-07 23:07:37.000000000 +0200
@@ -2,6 +2,7 @@
 # this repository contains the full copyright notices and license terms.
 import json
 import datetime
+from decimal import Decimal
 from dateutil.relativedelta import relativedelta
 from functools import reduce, wraps
 
@@ -117,6 +118,8 @@
                         ).pyson()
             else:
                 return Date(obj.year, obj.month, obj.day).pyson()
+        elif isinstance(obj, Decimal):
+            return float(obj)
         return super(PYSONEncoder, self).default(obj)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/trytond/rpc.py 
new/trytond-4.2.11/trytond/rpc.py
--- old/trytond-4.2.10/trytond/rpc.py   2017-05-03 18:52:26.000000000 +0200
+++ new/trytond-4.2.11/trytond/rpc.py   2018-05-07 23:07:37.000000000 +0200
@@ -1,5 +1,7 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
+import copy
+
 from trytond.transaction import Transaction
 
 __all__ = ['RPC']
@@ -32,6 +34,7 @@
             context = kwargs.pop('context')
         else:
             context = args.pop()
+        context = copy.deepcopy(context)
         timestamp = None
         for key in context.keys():
             if key == '_timestamp':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.2.10/trytond.egg-info/PKG-INFO 
new/trytond-4.2.11/trytond.egg-info/PKG-INFO
--- old/trytond-4.2.10/trytond.egg-info/PKG-INFO        2018-03-01 
22:50:28.000000000 +0100
+++ new/trytond-4.2.11/trytond.egg-info/PKG-INFO        2018-05-07 
23:07:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 4.2.10
+Version: 4.2.11
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to