Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tryton for openSUSE:Factory checked in at 2023-05-23 14:55:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tryton (Old) and /work/SRC/openSUSE:Factory/.tryton.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton" Tue May 23 14:55:28 2023 rev:15 rq:1088645 version:6.0.27 Changes: -------- --- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2023-03-12 19:47:56.699503783 +0100 +++ /work/SRC/openSUSE:Factory/.tryton.new.1533/tryton.changes 2023-05-23 14:55:50.218942348 +0200 @@ -1,0 +2,5 @@ +Sat May 20 17:02:27 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.27 - Bugfix Release + +------------------------------------------------------------------- Old: ---- tryton-6.0.26.tar.gz New: ---- tryton-6.0.27.tar.gz tryton-6.0.27.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton.spec ++++++ --- /var/tmp/diff_new_pack.yszLCl/_old 2023-05-23 14:55:50.758945543 +0200 +++ /var/tmp/diff_new_pack.yszLCl/_new 2023-05-23 14:55:50.766945591 +0200 @@ -2,7 +2,7 @@ # spec file for package tryton # # Copyright (c) 2023 SUSE LLC -# Copyright (c) 2015-2022 Dr. Axel Braun <d...@opensuse.org> +# Copyright (c) 2015-2023 Dr. Axel Braun <d...@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,15 @@ %define majorver 6.0 Name: tryton -Version: %{majorver}.26 +Version: %{majorver}.27 Release: 0 Summary: The client of the Tryton application platform License: GPL-3.0-or-later Group: Productivity/Office/Management URL: http://www.tryton.org/ Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz -Source1: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring +Source1: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz.asc +Source2: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring Patch0: 000-pygtkcompat.diff Patch1: 001-disable-version-check.diff ++++++ tryton-6.0.26.tar.gz -> tryton-6.0.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/CHANGELOG new/tryton-6.0.27/CHANGELOG --- old/tryton-6.0.26/CHANGELOG 2023-03-04 12:10:44.000000000 +0100 +++ new/tryton-6.0.27/CHANGELOG 2023-05-03 18:34:05.000000000 +0200 @@ -1,4 +1,9 @@ +Version 6.0.27 - 2023-05-03 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.26 - 2023-03-04 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/PKG-INFO new/tryton-6.0.27/PKG-INFO --- old/tryton-6.0.26/PKG-INFO 2023-03-04 12:10:47.873265700 +0100 +++ new/tryton-6.0.27/PKG-INFO 2023-05-03 18:34:09.167533400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tryton -Version: 6.0.26 +Version: 6.0.27 Summary: Tryton desktop client Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton/__init__.py new/tryton-6.0.27/tryton/__init__.py --- old/tryton-6.0.26/tryton/__init__.py 2023-02-17 19:27:21.000000000 +0100 +++ new/tryton-6.0.27/tryton/__init__.py 2023-03-04 12:10:59.000000000 +0100 @@ -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. -__version__ = "6.0.26" +__version__ = "6.0.27" import gi import locale diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton/common/common.py new/tryton-6.0.27/tryton/common/common.py --- old/tryton-6.0.26/tryton/common/common.py 2023-01-02 22:32:08.000000000 +0100 +++ new/tryton-6.0.27/tryton/common/common.py 2023-04-22 22:54:32.000000000 +0200 @@ -423,9 +423,9 @@ win.add_buttons(*buttons) win.set_icon(TRYTON_ICON) if filename: - filename = slugify(filename) if action in (Gtk.FileChooserAction.SAVE, Gtk.FileChooserAction.CREATE_FOLDER): + filename = _slugify_filename(filename) win.set_current_name(filename) else: win.set_filename(filename) @@ -480,15 +480,19 @@ return _slugify_hyphenate_re.sub('-', value) -def file_write(filename, data): - if isinstance(data, str): - data = data.encode('utf-8') - dtemp = tempfile.mkdtemp(prefix='tryton_') +def _slugify_filename(filename): if not isinstance(filename, str): name, ext = filename else: name, ext = os.path.splitext(filename) - filename = ''.join([slugify(name), os.extsep, slugify(ext)]) + return ''.join([slugify(name), os.extsep, slugify(ext)]) + + +def file_write(filename, data): + if isinstance(data, str): + data = data.encode('utf-8') + dtemp = tempfile.mkdtemp(prefix='tryton_') + filename = _slugify_filename(filename) filepath = os.path.join(dtemp, filename) with open(filepath, 'wb') as fp: fp.write(data) Binary files old/tryton-6.0.26/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/de/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/es/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/et/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/et/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/fa/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/fa/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/fi/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/fi/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/hu/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/hu/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/id/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/id/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/it/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/it/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/pt/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/pt/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/ro/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/ro/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/tr/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/tr/LC_MESSAGES/tryton.mo differ Binary files old/tryton-6.0.26/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and new/tryton-6.0.27/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton/gui/main.py new/tryton-6.0.27/tryton/gui/main.py --- old/tryton-6.0.26/tryton/gui/main.py 2022-12-19 13:03:46.000000000 +0100 +++ new/tryton-6.0.27/tryton/gui/main.py 2023-04-22 23:18:01.000000000 +0200 @@ -963,6 +963,7 @@ return def open_model(path): + attributes = {} model, path = (path.split('/', 1) + [''])[:2] if not model: return @@ -970,7 +971,9 @@ mode = None try: view_ids = json.loads(params.get('views', '[]')) - limit = json.loads(params.get('limit', 'null')) + if 'limit' in params: + attributes['limit'] = json.loads( + params.get('limit', 'null')) name = json.loads(params.get('name', '""')) search_value = json.loads(params.get('search_value', '[]'), object_hook=object_hook) @@ -998,9 +1001,9 @@ context_model=context_model, mode=mode, name=name, - limit=limit, search_value=search_value, - tab_domain=tab_domain) + tab_domain=tab_domain, + **attributes) except Exception: # Prevent crashing the client return diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton/gui/window/view_form/model/field.py new/tryton-6.0.27/tryton/gui/window/view_form/model/field.py --- old/tryton-6.0.26/tryton/gui/window/view_form/model/field.py 2023-02-10 00:40:56.000000000 +0100 +++ new/tryton-6.0.27/tryton/gui/window/view_form/model/field.py 2023-04-13 19:00:46.000000000 +0200 @@ -243,6 +243,10 @@ return value def set_client(self, record, value, force_change=False): + if value is None: + value = [] + if isinstance(value, str): + value = [value] if value: value = sorted(value) super().set_client(record, value, force_change=force_change) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton/gui/window/win_export.py new/tryton-6.0.27/tryton/gui/window/win_export.py --- old/tryton-6.0.26/tryton/gui/window/win_export.py 2022-12-19 13:03:46.000000000 +0100 +++ new/tryton-6.0.27/tryton/gui/window/win_export.py 2023-04-22 23:18:24.000000000 +0200 @@ -468,7 +468,8 @@ else: domain = self.screen.search_domain( self.screen.screen_container.get_text()) - if not self.ignore_search_limit.get_active(): + if (not self.ignore_search_limit.get_active() + and self.screen.limit is not None): query_string.append(('s', str(self.screen.limit))) query_string.append( ('p', str(self.screen.offset // self.screen.limit))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-6.0.26/tryton.egg-info/PKG-INFO new/tryton-6.0.27/tryton.egg-info/PKG-INFO --- old/tryton-6.0.26/tryton.egg-info/PKG-INFO 2023-03-04 12:10:46.000000000 +0100 +++ new/tryton-6.0.27/tryton.egg-info/PKG-INFO 2023-05-03 18:34:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tryton -Version: 6.0.26 +Version: 6.0.27 Summary: Tryton desktop client Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/