Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2020-10-05 19:38:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Mon Oct 5 19:38:52 2020 rev:48 rq:839304 version:5.0.27 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2020-08-25 09:35:56.624112291 +0200 +++ /work/SRC/openSUSE:Factory/.trytond.new.4249/trytond.changes 2020-10-05 19:40:12.653615534 +0200 @@ -1,0 +2,5 @@ +Sat Oct 3 08:38:00 UTC 2020 - Axel Braun <axel.br...@gmx.de> + +- Version 5.0.27 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond-5.0.25.tar.gz New: ---- trytond-5.0.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.ydsH3k/_old 2020-10-05 19:40:13.505616366 +0200 +++ /var/tmp/diff_new_pack.ydsH3k/_new 2020-10-05 19:40:13.509616370 +0200 @@ -20,7 +20,7 @@ %define majorver 5.0 %define base_name tryton Name: trytond -Version: %{majorver}.25 +Version: %{majorver}.27 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later ++++++ trytond-5.0.25.tar.gz -> trytond-5.0.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/.hgtags new/trytond-5.0.27/.hgtags --- old/trytond-5.0.25/.hgtags 2020-08-02 17:27:40.000000000 +0200 +++ new/trytond-5.0.27/.hgtags 2020-10-03 00:30:47.000000000 +0200 @@ -44,3 +44,5 @@ b48137b41f5094dd1c8e00fed36e495b6be79d23 5.0.23 00b369c2f3d202d42200528bc555d7c44d7a864c 5.0.24 142a2b9978232f3cb07b3dee74005b310dd64af0 5.0.25 +4bbcff28555d6da5e95020d4f9c837995c715501 5.0.26 +b945fb11b072406345e2dc7d50d6ac858e1fc203 5.0.27 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/CHANGELOG new/trytond-5.0.27/CHANGELOG --- old/trytond-5.0.25/CHANGELOG 2020-08-02 17:27:39.000000000 +0200 +++ new/trytond-5.0.27/CHANGELOG 2020-10-03 00:30:46.000000000 +0200 @@ -1,3 +1,9 @@ +Version 5.0.27 - 2020-10-02 +* Bug fixes (see mercurial logs for details) + +Version 5.0.26 - 2020-09-16 +* Bug fixes (see mercurial logs for details) + Version 5.0.25 - 2020-08-02 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/PKG-INFO new/trytond-5.0.27/PKG-INFO --- old/trytond-5.0.25/PKG-INFO 2020-08-02 17:27:42.000000000 +0200 +++ new/trytond-5.0.27/PKG-INFO 2020-10-03 00:30:48.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 5.0.25 +Version: 5.0.27 Summary: Tryton server Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/__init__.py new/trytond-5.0.27/trytond/__init__.py --- old/trytond-5.0.25/trytond/__init__.py 2020-07-16 19:05:35.000000000 +0200 +++ new/trytond-5.0.27/trytond/__init__.py 2020-09-16 14:32:14.000000000 +0200 @@ -5,7 +5,7 @@ import warnings from email import charset -__version__ = "5.0.25" +__version__ = "5.0.27" os.environ['TZ'] = 'UTC' if hasattr(time, 'tzset'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/backend/postgresql/database.py new/trytond-5.0.27/trytond/backend/postgresql/database.py --- old/trytond-5.0.25/trytond/backend/postgresql/database.py 2020-07-30 00:04:12.000000000 +0200 +++ new/trytond-5.0.27/trytond/backend/postgresql/database.py 2020-09-06 17:12:18.000000000 +0200 @@ -170,7 +170,7 @@ # psycopg2cffi does not have the readonly property if hasattr(conn, 'readonly'): conn.readonly = readonly - elif not autocommit: + elif not autocommit and readonly: cursor = conn.cursor() cursor.execute('SET TRANSACTION READ ONLY') return conn diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/ir/lang.py new/trytond-5.0.27/trytond/ir/lang.py --- old/trytond-5.0.25/trytond/ir/lang.py 2019-08-11 19:34:43.000000000 +0200 +++ new/trytond-5.0.27/trytond/ir/lang.py 2020-09-24 19:20:17.000000000 +0200 @@ -408,6 +408,7 @@ if seps: formatted = _strip_padding(formatted, seps) elif percent[-1] in 'diu': + seps = 0 if grouping: formatted, seps = self._group(formatted, monetary=monetary) if seps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/ir/module.py new/trytond-5.0.27/trytond/ir/module.py --- old/trytond-5.0.25/trytond/ir/module.py 2019-08-11 19:34:43.000000000 +0200 +++ new/trytond-5.0.27/trytond/ir/module.py 2020-09-24 19:20:17.000000000 +0200 @@ -289,14 +289,14 @@ module_names = get_module_list() modules = cls.search([]) - name2module = dict((m.name, m) for m in modules) + name2id = dict((m.name, m.id) for m in modules) cls.delete([m for m in modules if m.state != 'activated' and m.name not in module_names]) # iterate through activated modules and mark them as being so for name in module_names: - if name in name2module: - module = name2module[name] + if name in name2id: + module = cls(name2id[name]) tryton = get_module_info(name) cls._update_dependencies(module, tryton.get('depends', [])) continue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/ir/queue.py new/trytond-5.0.27/trytond/ir/queue.py --- old/trytond-5.0.25/trytond/ir/queue.py 2020-03-26 23:39:20.000000000 +0100 +++ new/trytond-5.0.27/trytond/ir/queue.py 2020-09-06 17:12:18.000000000 +0200 @@ -194,7 +194,7 @@ def __call__(self, instances, *args, **kwargs): transaction = Transaction() - context = transaction.context + context = transaction.context.copy() name = context.pop('queue_name', 'default') now = datetime.datetime.now() scheduled_at = context.pop('queue_scheduled_at', None) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond/res/user.py new/trytond-5.0.27/trytond/res/user.py --- old/trytond-5.0.25/trytond/res/user.py 2019-08-11 19:34:43.000000000 +0200 +++ new/trytond-5.0.27/trytond/res/user.py 2020-09-24 19:20:17.000000000 +0200 @@ -326,7 +326,7 @@ Session = Pool().get('ir.session') now = datetime.datetime.now() timeout = datetime.timedelta( - seconds=config.getint('session', 'timeout')) + seconds=config.getint('session', 'max_age')) result = dict((u.id, 0) for u in users) with Transaction().set_user(0): for sub_ids in grouped_slice(users): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-5.0.25/trytond.egg-info/PKG-INFO new/trytond-5.0.27/trytond.egg-info/PKG-INFO --- old/trytond-5.0.25/trytond.egg-info/PKG-INFO 2020-08-02 17:27:41.000000000 +0200 +++ new/trytond-5.0.27/trytond.egg-info/PKG-INFO 2020-10-03 00:30:48.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 5.0.25 +Version: 5.0.27 Summary: Tryton server Home-page: http://www.tryton.org/ Author: Tryton