Hello community, here is the log from the commit of package tryton for openSUSE:Factory checked in at 2016-09-23 11:32:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tryton (Old) and /work/SRC/openSUSE:Factory/.tryton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton" Changes: -------- --- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2016-08-25 09:56:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tryton.new/tryton.changes 2016-09-23 11:32:25.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 6 15:43:37 UTC 2016 - [email protected] + +- version 3.8.9 + +------------------------------------------------------------------- Old: ---- tryton-3.8.8.tar.gz New: ---- tryton-3.8.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton.spec ++++++ --- /var/tmp/diff_new_pack.dCmdCn/_old 2016-09-23 11:32:26.000000000 +0200 +++ /var/tmp/diff_new_pack.dCmdCn/_new 2016-09-23 11:32:26.000000000 +0200 @@ -19,7 +19,7 @@ %define majorver 3.8 Name: tryton -Version: %{majorver}.8 +Version: %{majorver}.9 Release: 0 Summary: The client of the Tryton application platform License: GPL-3.0 ++++++ tryton-3.8.8.tar.gz -> tryton-3.8.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/CHANGELOG new/tryton-3.8.9/CHANGELOG --- old/tryton-3.8.8/CHANGELOG 2016-08-02 21:59:01.000000000 +0200 +++ new/tryton-3.8.9/CHANGELOG 2016-09-03 11:57:46.000000000 +0200 @@ -1,3 +1,6 @@ +Version 3.8.9 - 2016-09-03 +* Bug fixes (see mercurial logs for details) + Version 3.8.8 - 2016-08-02 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/PKG-INFO new/tryton-3.8.9/PKG-INFO --- old/tryton-3.8.8/PKG-INFO 2016-08-02 21:59:15.000000000 +0200 +++ new/tryton-3.8.9/PKG-INFO 2016-09-03 11:57:56.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 3.8.8 +Version: 3.8.9 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/__init__.py new/tryton-3.8.9/tryton/__init__.py --- old/tryton-3.8.8/tryton/__init__.py 2016-07-04 21:54:34.000000000 +0200 +++ new/tryton-3.8.9/tryton/__init__.py 2016-08-02 21:59:43.000000000 +0200 @@ -1,3 +1,3 @@ # 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__ = "3.8.8" +__version__ = "3.8.9" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/config.py new/tryton-3.8.9/tryton/config.py --- old/tryton-3.8.8/tryton/config.py 2016-05-10 23:45:48.000000000 +0200 +++ new/tryton-3.8.9/tryton/config.py 2016-09-03 11:57:12.000000000 +0200 @@ -9,7 +9,6 @@ import sys import locale import gtk -import pkg_resources from tryton.exceptions import TrytonError from tryton import __version__ @@ -178,6 +177,8 @@ PIXMAPS_DIR = os.path.join(CURRENT_DIR, 'data', 'pixmaps', 'tryton') if not os.path.isdir(PIXMAPS_DIR): + # do not import when frozen + import pkg_resources PIXMAPS_DIR = pkg_resources.resource_filename( 'tryton', 'data/pixmaps/tryton') Files old/tryton-3.8.8/tryton/data/locale/bg_BG/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/bg_BG/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/ca_ES/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/ca_ES/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/cs_CZ/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/cs_CZ/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/de_DE/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/de_DE/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/es_AR/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/es_AR/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/es_CO/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/es_CO/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/es_EC/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/es_EC/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/es_ES/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/es_ES/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/es_MX/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/es_MX/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/fr_FR/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/fr_FR/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/lt_LT/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/lt_LT/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/nl_NL/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/nl_NL/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/ru_RU/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/ru_RU/LC_MESSAGES/tryton.mo differ Files old/tryton-3.8.8/tryton/data/locale/sl_SI/LC_MESSAGES/tryton.mo and new/tryton-3.8.9/tryton/data/locale/sl_SI/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/gui/window/view_form/model/field.py new/tryton-3.8.9/tryton/gui/window/view_form/model/field.py --- old/tryton-3.8.8/tryton/gui/window/view_form/model/field.py 2016-08-02 21:58:22.000000000 +0200 +++ new/tryton-3.8.9/tryton/gui/window/view_form/model/field.py 2016-09-03 11:57:12.000000000 +0200 @@ -583,12 +583,14 @@ def _set_value(self, record, value, default=False): self._set_default_value(record) group = record.value[self.name] - if not value or (len(value) and isinstance(value[0], (int, long))): + if not value: + return + if isinstance(value[0], (int, long)): mode = 'list ids' else: mode = 'list values' - if mode == 'list values' and len(value): + if mode == 'list values': context = self.context_get(record) field_names = set(f for v in value for f in v if f not in group.fields) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/gui/window/view_form/view/list_gtk/widget.py new/tryton-3.8.9/tryton/gui/window/view_form/view/list_gtk/widget.py --- old/tryton-3.8.8/tryton/gui/window/view_form/view/list_gtk/widget.py 2016-05-10 23:45:49.000000000 +0200 +++ new/tryton-3.8.9/tryton/gui/window/view_form/view/list_gtk/widget.py 2016-09-03 11:57:12.000000000 +0200 @@ -39,7 +39,12 @@ editable.editing_done_id = editable.connect('editing_done', treeview.on_editing_done) if isinstance(editable, (gtk.ComboBoxEntry, gtk.ComboBox)): - editable.connect('changed', treeview.on_editing_done) + def changed(combobox): + # "changed" signal is also triggered by text editing + # so only trigger editing-done if a row is active + if combobox.get_active_iter(): + treeview.on_editing_done(combobox) + editable.connect('changed', changed) def realized(func): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/gui/window/wizard.py new/tryton-3.8.9/tryton/gui/window/wizard.py --- old/tryton-3.8.8/tryton/gui/window/wizard.py 2016-05-10 23:45:49.000000000 +0200 +++ new/tryton-3.8.9/tryton/gui/window/wizard.py 2016-09-03 11:57:12.000000000 +0200 @@ -321,12 +321,14 @@ return button def update(self, view, defaults, buttons): - super(WizardDialog, self).update(view, defaults, buttons) + # Dialog must be shown before the screen is displayed + # to get the treeview realized when displayed sensible_allocation = self.sensible_widget.get_allocation() self.dia.set_default_size(int(sensible_allocation.width * 0.9), int(sensible_allocation.height * 0.9)) self.dia.show() common.center_window(self.dia, self.parent, self.sensible_widget) + super(WizardDialog, self).update(view, defaults, buttons) def destroy(self, action=None): super(WizardDialog, self).destroy() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/rpc.py new/tryton-3.8.9/tryton/rpc.py --- old/tryton-3.8.8/tryton/rpc.py 2016-05-10 23:45:49.000000000 +0200 +++ new/tryton-3.8.9/tryton/rpc.py 2016-09-03 11:57:12.000000000 +0200 @@ -68,7 +68,7 @@ logging.getLogger(__name__).debug(repr(result)) return result except (Fault, socket.error): - raise + return None def login(username, password, host, port, database): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton/translate.py new/tryton-3.8.9/tryton/translate.py --- old/tryton-3.8.8/tryton/translate.py 2016-05-10 23:45:49.000000000 +0200 +++ new/tryton-3.8.9/tryton/translate.py 2016-09-03 11:57:12.000000000 +0200 @@ -7,7 +7,6 @@ import logging import gtk import sys -import pkg_resources from tryton.config import CURRENT_DIR @@ -156,6 +155,8 @@ "Set language" locale_dir = os.path.join(CURRENT_DIR, 'data/locale') if not os.path.isdir(locale_dir): + # do not import when frozen + import pkg_resources locale_dir = pkg_resources.resource_filename( 'tryton', 'data/locale') if lang: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-3.8.8/tryton.egg-info/PKG-INFO new/tryton-3.8.9/tryton.egg-info/PKG-INFO --- old/tryton-3.8.8/tryton.egg-info/PKG-INFO 2016-08-02 21:59:13.000000000 +0200 +++ new/tryton-3.8.9/tryton.egg-info/PKG-INFO 2016-09-03 11:57:55.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 3.8.8 +Version: 3.8.9 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton
