Hello community,

here is the log from the commit of package tryton for openSUSE:Factory checked 
in at 2019-02-24 17:18:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
 and      /work/SRC/openSUSE:Factory/.tryton.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tryton"

Sun Feb 24 17:18:07 2019 rev:27 rq:677895 version:4.6.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes    2019-01-28 
20:50:03.265803335 +0100
+++ /work/SRC/openSUSE:Factory/.tryton.new.28833/tryton.changes 2019-02-24 
17:18:07.824421374 +0100
@@ -1,0 +2,5 @@
+Wed Feb 20 21:06:16 UTC 2019 - Axel Braun <[email protected]>
+
+- Version 4.6.16 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  tryton-4.6.15.tar.gz

New:
----
  tryton-4.6.16.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.YyO9F2/_old  2019-02-24 17:18:08.396421272 +0100
+++ /var/tmp/diff_new_pack.YyO9F2/_new  2019-02-24 17:18:08.396421272 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 4.6
 Name:           tryton
-Version:        %{majorver}.15
+Version:        %{majorver}.16
 Release:        0
 Summary:        The client of the Tryton application platform
 License:        GPL-3.0-only

++++++ tryton-4.6.15.tar.gz -> tryton-4.6.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/.hgtags new/tryton-4.6.16/.hgtags
--- old/tryton-4.6.15/.hgtags   2019-01-22 22:20:06.000000000 +0100
+++ new/tryton-4.6.16/.hgtags   2019-02-19 21:41:04.000000000 +0100
@@ -32,3 +32,4 @@
 de811f5f5e0473b919aa91e56021733faa171c91 4.6.13
 6441a084b01758f52f20d64663b83c3b61eb077b 4.6.14
 848270b77dd3c57d559889ee3c3a7b6a477ff4ae 4.6.15
+dd6191f8ea5e6d2205d49bae23f5417c7e4dd347 4.6.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/CHANGELOG new/tryton-4.6.16/CHANGELOG
--- old/tryton-4.6.15/CHANGELOG 2019-01-22 22:20:06.000000000 +0100
+++ new/tryton-4.6.16/CHANGELOG 2019-02-19 21:41:04.000000000 +0100
@@ -1,3 +1,6 @@
+Version 4.6.16 - 2019-02-19
+* Bug fixes (see mercurial logs for details)
+
 Version 4.6.15 - 2019-01-22
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/COPYRIGHT new/tryton-4.6.16/COPYRIGHT
--- old/tryton-4.6.15/COPYRIGHT 2019-01-22 22:20:06.000000000 +0100
+++ new/tryton-4.6.16/COPYRIGHT 2019-02-19 21:41:03.000000000 +0100
@@ -1,5 +1,5 @@
 Copyright (C) 2012-2013 Antoine Smolders.
-Copyright (C) 2010-2018 Nicolas Évrard.
+Copyright (C) 2010-2019 Nicolas Évrard.
 Copyright (C) 2007-2019 Cédric Krier.
 Copyright (C) 2007-2013 Bertrand Chenal.
 Copyright (C) 2008-2019 B2CK SPRL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/PKG-INFO new/tryton-4.6.16/PKG-INFO
--- old/tryton-4.6.15/PKG-INFO  2019-01-22 22:20:07.000000000 +0100
+++ new/tryton-4.6.16/PKG-INFO  2019-02-19 21:41:05.000000000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: tryton
-Version: 4.6.15
+Version: 4.6.16
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: [email protected]
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.6/
-Description-Content-Type: UNKNOWN
 Description: tryton
         ======
         
@@ -89,3 +88,5 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Topic :: Office/Business
+Provides-Extra: cdecimal
+Provides-Extra: calendar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/doc/usage.rst 
new/tryton-4.6.16/doc/usage.rst
--- old/tryton-4.6.15/doc/usage.rst     2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.16/doc/usage.rst     2019-02-10 23:43:19.000000000 +0100
@@ -737,7 +737,7 @@
 
 For more information about style option see `GTK+ CSS`_
 
-.. GTK+ CSS:: https://developer.gnome.org/gtk3/stable/chap-css-overview.html
+.. _GTK+ CSS: https://developer.gnome.org/gtk3/stable/chap-css-overview.html
 
 Appendix
 ********
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/tryton/__init__.py 
new/tryton-4.6.16/tryton/__init__.py
--- old/tryton-4.6.15/tryton/__init__.py        2019-01-05 18:33:09.000000000 
+0100
+++ new/tryton-4.6.16/tryton/__init__.py        2019-01-22 22:20:23.000000000 
+0100
@@ -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__ = "4.6.15"
+__version__ = "4.6.16"
Binary files old/tryton-4.6.15/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/de/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/es/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.16/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.15/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.16/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/tryton/gui/window/about.py 
new/tryton-4.6.16/tryton/gui/window/about.py
--- old/tryton-4.6.15/tryton/gui/window/about.py        2019-01-22 
22:20:06.000000000 +0100
+++ new/tryton-4.6.16/tryton/gui/window/about.py        2019-02-19 
21:41:03.000000000 +0100
@@ -9,7 +9,7 @@
 from tryton import __version__
 
 COPYRIGHT = '''\
-Copyright (C) 2010-2018 Nicolas Évrard.
+Copyright (C) 2010-2019 Nicolas Évrard.
 Copyright (C) 2007-2019 Cédric Krier.
 Copyright (C) 2007-2011 Bertrand Chenal.
 Copyright (C) 2008-2019 B2CK SPRL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/tryton/gui/window/nomodal.py 
new/tryton-4.6.16/tryton/gui/window/nomodal.py
--- old/tryton-4.6.15/tryton/gui/window/nomodal.py      2018-08-20 
22:55:19.000000000 +0200
+++ new/tryton-4.6.16/tryton/gui/window/nomodal.py      2019-02-10 
23:43:19.000000000 +0100
@@ -1,7 +1,5 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
-import gtk
-
 import tryton.common as common
 
 
@@ -28,9 +26,6 @@
 
     def destroy(self):
         self.page.dialogs.remove(self)
-        # Test if the parent is not already destroyed
-        if self.parent not in gtk.window_list_toplevels():
-            return
         self.parent.present()
         self.sensible_widget.props.sensitive = True
         for focus in self.parent_focus:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.15/tryton/gui/window/view_form/view/form.py 
new/tryton-4.6.16/tryton/gui/window/view_form/view/form.py
--- old/tryton-4.6.15/tryton/gui/window/view_form/view/form.py  2018-08-20 
22:55:19.000000000 +0200
+++ new/tryton-4.6.16/tryton/gui/window/view_form/view/form.py  2019-02-10 
23:43:19.000000000 +0100
@@ -202,11 +202,7 @@
             if 'states' not in attributes and 'states' in field.attrs:
                 attributes['states'] = field.attrs['states']
             if 'string' not in attributes:
-                if gtk.widget_get_default_direction() == \
-                        gtk.TEXT_DIR_RTL:
-                    attributes['string'] = _(':') + field.attrs['string']
-                else:
-                    attributes['string'] = field.attrs['string'] + _(':')
+                attributes['string'] = field.attrs['string'] + _(':')
         if CONFIG['client.modepda']:
             attributes['xalign'] = 0.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/checkbox.py 
new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/checkbox.py
--- old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/checkbox.py     
2018-08-20 22:55:11.000000000 +0200
+++ new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/checkbox.py     
2019-02-10 23:43:19.000000000 +0100
@@ -28,4 +28,8 @@
         if not field:
             self.widget.set_active(False)
             return False
-        self.widget.set_active(bool(field.get(record)))
+        self.widget.handler_block_by_func(self.sig_activate)
+        try:
+            self.widget.set_active(bool(field.get(record)))
+        finally:
+            self.widget.handler_unblock_by_func(self.sig_activate)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/dictionary.py 
new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/dictionary.py
--- old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/dictionary.py   
2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/dictionary.py   
2019-02-10 23:43:19.000000000 +0100
@@ -40,6 +40,8 @@
         widget.connect('key-press-event', self.parent_widget.send_modified)
         widget.connect('focus-out-event',
             lambda w, e: self.parent_widget._focus_out())
+        widget.props.activates_default = True
+        widget.connect('activate', self.parent_widget.sig_activate)
         return widget
 
     def modified(self, value):
@@ -61,7 +63,7 @@
 
     def create_widget(self):
         widget = gtk.CheckButton()
-        widget.connect('toggled', self.parent_widget.send_modified)
+        widget.connect('toggled', self.parent_widget.sig_activate)
         widget.connect('focus-out-event', lambda w, e:
             self.parent_widget._focus_out())
         return widget
@@ -70,7 +72,12 @@
         return self.widget.props.active
 
     def set_value(self, value):
-        self.widget.props.active = bool(value)
+        self.widget.handler_block_by_func(self.parent_widget.sig_activate)
+        try:
+            self.widget.props.active = bool(value)
+        finally:
+            self.widget.handler_unblock_by_func(
+                self.parent_widget.sig_activate)
 
     def set_readonly(self, readonly):
         self.widget.set_sensitive(not readonly)
@@ -477,10 +484,7 @@
         alignment.add(hbox)
         n_rows = self.table.props.n_rows
         self.table.resize(n_rows + 1, 3)
-        if gtk.widget_get_default_direction() == gtk.TEXT_DIR_RTL:
-            text = _(':') + self.keys[key]['string']
-        else:
-            text = self.keys[key]['string'] + _(':')
+        text = self.keys[key]['string'] + _(':')
         label = gtk.Label(text)
         label.set_alignment(1., .5)
         self.table.attach(label, 0, 1, n_rows - 1, n_rows,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/widget.py 
new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/widget.py
--- old/tryton-4.6.15/tryton/gui/window/view_form/view/form_gtk/widget.py       
2019-01-14 18:57:23.000000000 +0100
+++ new/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/widget.py       
2019-02-10 23:43:19.000000000 +0100
@@ -146,10 +146,7 @@
         table.set_row_spacings(2)
         table.set_border_width(1)
         for i, language in enumerate(languages):
-            if gtk.widget_get_default_direction() == gtk.TEXT_DIR_RTL:
-                label = _(':') + language['name']
-            else:
-                label = language['name'] + _(':')
+            label = language['name'] + _(':')
             label = gtk.Label(label)
             label.set_alignment(1.0, 0.0 if self.widget.expand else 0.5)
             table.attach(label, 0, 1, i, i + 1, xoptions=gtk.FILL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.15/tryton/gui/window/view_form/view/list.py 
new/tryton-4.6.16/tryton/gui/window/view_form/view/list.py
--- old/tryton-4.6.15/tryton/gui/window/view_form/view/list.py  2018-11-03 
01:24:42.000000000 +0100
+++ new/tryton-4.6.16/tryton/gui/window/view_form/view/list.py  2019-02-10 
23:43:19.000000000 +0100
@@ -144,7 +144,8 @@
     def sort(self, ids):
         old_idx = {record.id: i for i, record in enumerate(self.group)}
         new_idx = {id_: i for i, id_ in enumerate(ids)}
-        self.group.sort(key=lambda r: new_idx.get(r.id))
+        size = len(self.group)
+        self.group.sort(key=lambda r: new_idx.get(r.id, size))
         new_order = []
         prev = None
         for record in self.group:
@@ -517,10 +518,7 @@
     def add_sum(self, attributes):
         if 'sum' not in attributes:
             return
-        if gtk.widget_get_default_direction() == gtk.TEXT_DIR_RTL:
-            text = _(':') + attributes['sum']
-        else:
-            text = attributes['sum'] + _(':')
+        text = attributes['sum'] + _(':')
         label, sum_ = gtk.Label(text), gtk.Label()
 
         hbox = gtk.HBox()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.15/tryton.egg-info/PKG-INFO 
new/tryton-4.6.16/tryton.egg-info/PKG-INFO
--- old/tryton-4.6.15/tryton.egg-info/PKG-INFO  2019-01-22 22:20:07.000000000 
+0100
+++ new/tryton-4.6.16/tryton.egg-info/PKG-INFO  2019-02-19 21:41:05.000000000 
+0100
@@ -1,13 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: tryton
-Version: 4.6.15
+Version: 4.6.16
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: [email protected]
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.6/
-Description-Content-Type: UNKNOWN
 Description: tryton
         ======
         
@@ -89,3 +88,5 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Topic :: Office/Business
+Provides-Extra: cdecimal
+Provides-Extra: calendar


Reply via email to