Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2025-07-16 15:53:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Wed Jul 16 15:53:20 2025 rev:107 rq:1293772 version:7.0.33 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2025-07-02 18:17:14.502747061 +0200 +++ /work/SRC/openSUSE:Factory/.trytond.new.7373/trytond.changes 2025-07-16 15:56:13.043890181 +0200 @@ -1,0 +2,5 @@ +Wed Jul 9 10:35:54 UTC 2025 - Axel Braun <axel.br...@gmx.de> + +- Version 7.0.33 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond-7.0.32.tar.gz New: ---- trytond-7.0.33.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.urBWLe/_old 2025-07-16 15:56:14.023931097 +0200 +++ /var/tmp/diff_new_pack.urBWLe/_new 2025-07-16 15:56:14.027931264 +0200 @@ -30,7 +30,7 @@ ##%%endif Name: trytond -Version: %{majorver}.32 +Version: %{majorver}.33 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later ++++++ trytond-7.0.32.tar.gz -> trytond-7.0.33.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/CHANGELOG new/trytond-7.0.33/CHANGELOG --- old/trytond-7.0.32/CHANGELOG 2025-06-04 23:07:25.000000000 +0200 +++ new/trytond-7.0.33/CHANGELOG 2025-07-01 23:16:20.000000000 +0200 @@ -1,4 +1,9 @@ +Version 7.0.33 - 2025-07-01 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 7.0.32 - 2025-06-04 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/COPYRIGHT new/trytond-7.0.33/COPYRIGHT --- old/trytond-7.0.32/COPYRIGHT 2025-06-04 23:07:24.000000000 +0200 +++ new/trytond-7.0.33/COPYRIGHT 2025-07-01 23:16:20.000000000 +0200 @@ -4,8 +4,8 @@ Copyright (C) 2008-2025 B2CK SPRL. Copyright (C) 2011 Openlabs Technologies & Consulting (P) Ltd. Copyright (C) 2011-2025 Nicolas Évrard. -Copyright (C) 2020-2023 Maxime Richez -Copyright (C) 2020-2023 SALUC SA +Copyright (C) 2020-2025 Maxime Richez +Copyright (C) 2020-2025 SALUC SA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/PKG-INFO new/trytond-7.0.33/PKG-INFO --- old/trytond-7.0.32/PKG-INFO 2025-06-04 23:07:28.285962000 +0200 +++ new/trytond-7.0.33/PKG-INFO 2025-07-01 23:16:23.507944600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: trytond -Version: 7.0.32 +Version: 7.0.33 Summary: Tryton server Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/7.0/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond/__init__.py new/trytond-7.0.33/trytond/__init__.py --- old/trytond-7.0.32/trytond/__init__.py 2025-05-05 10:54:29.000000000 +0200 +++ new/trytond-7.0.33/trytond/__init__.py 2025-06-04 23:07:39.000000000 +0200 @@ -13,7 +13,7 @@ except ImportError: requests_utils = None -__version__ = "7.0.32" +__version__ = "7.0.33" os.environ.setdefault( 'TRYTOND_APPNAME', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond/cache.py new/trytond-7.0.33/trytond/cache.py --- old/trytond-7.0.32/trytond/cache.py 2025-05-05 10:54:29.000000000 +0200 +++ new/trytond-7.0.33/trytond/cache.py 2025-06-29 01:07:41.000000000 +0200 @@ -318,8 +318,12 @@ where=table.name == name)) timestamp, = cursor.fetchone() - inst = cls._instances[name] - inst._clear(dbname, timestamp) + try: + inst = cls._instances[name] + except KeyError: + pass + else: + inst._clear(dbname, timestamp) connection.commit() finally: database.put_connection(connection) @@ -399,8 +403,12 @@ elif notification.payload: reset = json.loads(notification.payload) for name in reset: - inst = cls._instances[name] - inst._clear(dbname) + try: + inst = cls._instances[name] + except KeyError: + pass + else: + inst._clear(dbname) cls._clean_last = dt.datetime.now() # Keep connected cursor.execute('SELECT 1') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond/convert.py new/trytond-7.0.33/trytond/convert.py --- old/trytond-7.0.32/trytond/convert.py 2025-05-05 10:54:29.000000000 +0200 +++ new/trytond-7.0.33/trytond/convert.py 2025-06-29 01:09:39.000000000 +0200 @@ -240,7 +240,8 @@ context = {} context['time'] = time context['version'] = __version__.rsplit('.', 1)[0] - context['ref'] = lambda xml_id: ','.join(self.mh.get_id(xml_id)) + context['ref'] = lambda xml_id: ','.join( + map(str, self.mh.get_id(xml_id))) context['Decimal'] = Decimal context['datetime'] = datetime if pyson_attr: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond/ir/model.py new/trytond-7.0.33/trytond/ir/model.py --- old/trytond-7.0.32/trytond/ir/model.py 2025-05-05 10:54:29.000000000 +0200 +++ new/trytond-7.0.33/trytond/ir/model.py 2025-06-29 00:58:20.000000000 +0200 @@ -1107,6 +1107,7 @@ }) @classmethod + @without_check_access def register(cls, model, name, records): pool = Pool() Button = pool.get('ir.model.button') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond/model/modelstorage.py new/trytond-7.0.33/trytond/model/modelstorage.py --- old/trytond-7.0.32/trytond/model/modelstorage.py 2025-05-29 17:21:56.000000000 +0200 +++ new/trytond-7.0.33/trytond/model/modelstorage.py 2025-06-29 00:56:31.000000000 +0200 @@ -718,7 +718,6 @@ field_name, descriptor = field_name.split('.') eModel = pool.get(value.__name__) field = eModel._fields[field_name] - field_def = eModel.fields_get()[field_name] if field.states and 'invisible' in field.states: invisible = _record_eval_pyson( value, field.states['invisible']) @@ -729,7 +728,7 @@ value = getattr(field, descriptor)().__get__(value, eModel) else: value = getattr(value, field_name) - if field_def['type'] in {'one2many', 'many2many'}: + if field._type in {'one2many', 'many2many'}: first = True child_fields_names = [(x[:i + 1] == fields_tree[:i + 1] and x[i + 1:]) or [] for x in fields_names] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.32/trytond.egg-info/PKG-INFO new/trytond-7.0.33/trytond.egg-info/PKG-INFO --- old/trytond-7.0.32/trytond.egg-info/PKG-INFO 2025-06-04 23:07:27.000000000 +0200 +++ new/trytond-7.0.33/trytond.egg-info/PKG-INFO 2025-07-01 23:16:22.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: trytond -Version: 7.0.32 +Version: 7.0.33 Summary: Tryton server Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/7.0/