Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2026-03-08 17:26:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Sun Mar 8 17:26:34 2026 rev:117 rq:1337448 version:7.0.46 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2026-02-05 18:06:51.663869424 +0100 +++ /work/SRC/openSUSE:Factory/.trytond.new.8177/trytond.changes 2026-03-08 17:27:09.339473334 +0100 @@ -1,0 +2,5 @@ +Sat Mar 7 18:57:39 UTC 2026 - Axel Braun <[email protected]> + +- Version 7.0.46 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond-7.0.45.tar.gz New: ---- trytond-7.0.46.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.2pj7uG/_old 2026-03-08 17:27:09.891496006 +0100 +++ /var/tmp/diff_new_pack.2pj7uG/_new 2026-03-08 17:27:09.895496171 +0100 @@ -30,7 +30,7 @@ ##%%endif Name: trytond -Version: %{majorver}.45 +Version: %{majorver}.46 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later ++++++ trytond-7.0.45.tar.gz -> trytond-7.0.46.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/CHANGELOG new/trytond-7.0.46/CHANGELOG --- old/trytond-7.0.45/CHANGELOG 2026-02-01 10:57:27.000000000 +0100 +++ new/trytond-7.0.46/CHANGELOG 2026-03-02 21:54:36.000000000 +0100 @@ -1,4 +1,9 @@ +Version 7.0.46 - 2026-03-02 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 7.0.45 - 2026-02-01 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/COPYRIGHT new/trytond-7.0.46/COPYRIGHT --- old/trytond-7.0.45/COPYRIGHT 2026-02-01 10:57:27.000000000 +0100 +++ new/trytond-7.0.46/COPYRIGHT 2026-03-02 21:54:36.000000000 +0100 @@ -3,7 +3,7 @@ Copyright (C) 2007-2013 Bertrand Chenal. Copyright (C) 2008-2026 B2CK SPRL. Copyright (C) 2011 Openlabs Technologies & Consulting (P) Ltd. -Copyright (C) 2011-2025 Nicolas Évrard. +Copyright (C) 2011-2026 Nicolas Évrard. Copyright (C) 2020-2025 Maxime Richez Copyright (C) 2020-2025 SALUC SA diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/PKG-INFO new/trytond-7.0.46/PKG-INFO --- old/trytond-7.0.45/PKG-INFO 2026-02-01 10:57:30.973886500 +0100 +++ new/trytond-7.0.46/PKG-INFO 2026-03-02 21:54:39.808731000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: trytond -Version: 7.0.45 +Version: 7.0.46 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.45/doc/topics/start_server.rst new/trytond-7.0.46/doc/topics/start_server.rst --- old/trytond-7.0.45/doc/topics/start_server.rst 2025-09-22 21:34:39.000000000 +0200 +++ new/trytond-7.0.46/doc/topics/start_server.rst 2026-02-27 17:56:55.000000000 +0100 @@ -43,6 +43,7 @@ * ``TRYTOND_COROUTINE``: Use coroutine for concurrency. * ``TRYTOND_DATABASE_NAMES``: A list of database names in CSV format, using python default dialect. + * ``TRYTOND_DEV``: A boolean to enable development mode. .. warning:: You must manage to serve the static files from the web root. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond/__init__.py new/trytond-7.0.46/trytond/__init__.py --- old/trytond-7.0.45/trytond/__init__.py 2026-01-15 21:57:02.000000000 +0100 +++ new/trytond-7.0.46/trytond/__init__.py 2026-02-01 10:57:39.000000000 +0100 @@ -10,7 +10,7 @@ import __main__ from lxml import etree, objectify -__version__ = "7.0.45" +__version__ = "7.0.46" if not os.environ.get('TRYTOND_APPNAME'): os.environ['TRYTOND_APPNAME'] = os.path.basename( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond/backend/postgresql/table.py new/trytond-7.0.46/trytond/backend/postgresql/table.py --- old/trytond-7.0.45/trytond/backend/postgresql/table.py 2026-01-31 13:54:21.000000000 +0100 +++ new/trytond-7.0.46/trytond/backend/postgresql/table.py 2026-02-27 17:53:16.000000000 +0100 @@ -145,6 +145,12 @@ and not cls.table_exist(new_history)): cursor.execute('ALTER TABLE "%s" RENAME TO "%s"' % (old_history, new_history)) + # Migrate from 6.6: rename old history sequence + old_history_sequence = f'{old_name}__history' + '___id_seq' + new_history_sequence = f'{new_name}__history' + '___id_seq' + transaction.database.sequence_rename( + transaction.connection, old_history_sequence, + new_history_sequence) def column_exist(self, column_name): return column_name in self._columns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond/commandline.py new/trytond-7.0.46/trytond/commandline.py --- old/trytond-7.0.45/trytond/commandline.py 2025-10-03 17:10:37.000000000 +0200 +++ new/trytond-7.0.46/trytond/commandline.py 2026-02-27 17:56:55.000000000 +0100 @@ -50,6 +50,7 @@ parser.add_argument("-v", "--verbose", action='count', dest="verbose", default=0, help="enable verbose mode") parser.add_argument('--dev', dest='dev', action='store_true', + default=bool(int(os.getenv('TRYTOND_DEV', 0))), help='enable development mode') logging_config = os.environ.get('TRYTOND_LOGGING_CONFIG') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond/model/modelstorage.py new/trytond-7.0.46/trytond/model/modelstorage.py --- old/trytond-7.0.45/trytond/model/modelstorage.py 2025-12-30 18:27:28.000000000 +0100 +++ new/trytond-7.0.46/trytond/model/modelstorage.py 2026-02-27 21:27:54.000000000 +0100 @@ -1370,7 +1370,7 @@ if is_pyson(domain): domain = _record_eval_pyson(records[0], domain) if isinstance(domain, dict): - domain = domain.get(Relation.__class__, []) + domain = domain.get(Relation.__name__, []) msg = gettext( 'ir.msg_domain_validation_record', **cls.__names__(field.name, invalid_record)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond/wsgi.py new/trytond-7.0.46/trytond/wsgi.py --- old/trytond-7.0.45/trytond/wsgi.py 2025-11-20 20:36:18.000000000 +0100 +++ new/trytond-7.0.46/trytond/wsgi.py 2026-02-27 17:56:55.000000000 +0100 @@ -56,7 +56,7 @@ }) self.protocols = [JSONProtocol, XMLProtocol] self.error_handlers = [] - self.dev = False + self.dev = bool(int(os.getenv('TRYTOND_DEV', 0))) def route(self, string, methods=None, defaults=None): def decorator(func): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-7.0.45/trytond.egg-info/PKG-INFO new/trytond-7.0.46/trytond.egg-info/PKG-INFO --- old/trytond-7.0.45/trytond.egg-info/PKG-INFO 2026-02-01 10:57:30.000000000 +0100 +++ new/trytond-7.0.46/trytond.egg-info/PKG-INFO 2026-03-02 21:54:39.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: trytond -Version: 7.0.45 +Version: 7.0.46 Summary: Tryton server Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/7.0/
