Hello community,

here is the log from the commit of package tryton for openSUSE:Factory checked 
in at 2017-10-06 11:03:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
 and      /work/SRC/openSUSE:Factory/.tryton.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tryton"

Fri Oct  6 11:03:37 2017 rev:11 rq:531463 version:4.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes    2017-08-18 
15:04:12.519805251 +0200
+++ /work/SRC/openSUSE:Factory/.tryton.new/tryton.changes       2017-10-06 
11:03:39.203501401 +0200
@@ -1,0 +2,5 @@
+Wed Oct  4 20:26:33 UTC 2017 - [email protected]
+
+- Version 4.2.7 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  tryton-4.2.6.tar.gz

New:
----
  tryton-4.2.7.tar.gz

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

Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.ALtmTS/_old  2017-10-06 11:03:40.071370150 +0200
+++ /var/tmp/diff_new_pack.ALtmTS/_new  2017-10-06 11:03:40.075369545 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:           tryton
-Version:        %{majorver}.6
+Version:        %{majorver}.7
 Release:        0
 Summary:        The client of the Tryton application platform
 License:        GPL-3.0

++++++ tryton-4.2.6.tar.gz -> tryton-4.2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/CHANGELOG new/tryton-4.2.7/CHANGELOG
--- old/tryton-4.2.6/CHANGELOG  2017-08-08 18:29:51.000000000 +0200
+++ new/tryton-4.2.7/CHANGELOG  2017-10-03 21:30:37.000000000 +0200
@@ -1,3 +1,6 @@
+Version 4.2.7 - 2017-10-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.6 - 2017-08-08
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/PKG-INFO new/tryton-4.2.7/PKG-INFO
--- old/tryton-4.2.6/PKG-INFO   2017-08-08 18:29:52.000000000 +0200
+++ new/tryton-4.2.7/PKG-INFO   2017-10-03 21:30:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 4.2.6
+Version: 4.2.7
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/bin/tryton new/tryton-4.2.7/bin/tryton
--- old/tryton-4.2.6/bin/tryton 2017-05-03 18:53:28.000000000 +0200
+++ new/tryton-4.2.7/bin/tryton 2017-10-03 21:26:32.000000000 +0200
@@ -23,6 +23,10 @@
             etc, 'gtk-2.0', 'gdk-pixbuf.loaders')
     os.environ['GTK_IM_MODULE_FILE'] = os.path.join(
             etc, 'gtk-2.0', 'gtk.immodules')
+    os.environ.setdefault('SSL_CERT_FILE',
+        os.path.join(etc, 'ssl', 'cert.pem'))
+    os.environ.setdefault('SSL_CERT_DIR',
+        os.path.join(etc, 'ssl', 'certs'))
 
 
 # Disable dbusmenu to show second menu in tabs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/setup-freeze.py 
new/tryton-4.2.7/setup-freeze.py
--- old/tryton-4.2.6/setup-freeze.py    2017-05-03 18:53:28.000000000 +0200
+++ new/tryton-4.2.7/setup-freeze.py    2017-10-03 21:26:32.000000000 +0200
@@ -20,6 +20,7 @@
     include_files.extend([
         (os.path.join(sys.prefix, 'share/themes/MS-Windows'),
             'share/themes/MS-Windows'),
+        (os.path.join(sys.prefix, 'ssl'), 'etc/ssl'),
         ])
     dll_paths = os.getenv('PATH', os.defpath).split(os.pathsep)
     required_dlls = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/tryton/__init__.py 
new/tryton-4.2.7/tryton/__init__.py
--- old/tryton-4.2.6/tryton/__init__.py 2017-06-05 23:39:47.000000000 +0200
+++ new/tryton-4.2.7/tryton/__init__.py 2017-08-08 18:30:08.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__ = "4.2.6"
+__version__ = "4.2.7"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/tryton/common/common.py 
new/tryton-4.2.7/tryton/common/common.py
--- old/tryton-4.2.6/tryton/common/common.py    2017-05-03 18:53:28.000000000 
+0200
+++ new/tryton-4.2.7/tryton/common/common.py    2017-10-03 21:26:32.000000000 
+0200
@@ -12,6 +12,7 @@
 import logging
 import unicodedata
 import colorsys
+from decimal import Decimal
 from functools import partial
 from tryton.config import CONFIG
 from tryton.config import TRYTON_ICON, PIXMAPS_DIR
@@ -175,6 +176,14 @@
 class ViewSearch(object):
     searches = {}
 
+    def __init__(self):
+        class Encoder(PYSONEncoder):
+            def default(self, obj):
+                if isinstance(obj, Decimal):
+                    return float(obj)
+                return super(Encoder, self).default(obj)
+        self.encoder = Encoder()
+
     def load_searches(self):
         try:
             self.searches = rpc.execute('model', 'ir.ui.view_search',
@@ -191,7 +200,7 @@
                 'create', [{
                         'model': model,
                         'name': name,
-                        'domain': PYSONEncoder().encode(domain),
+                        'domain': self.encoder.encode(domain),
                         }])
         except RPCException:
             return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/tryton/common/htmltextbuffer.py 
new/tryton-4.2.7/tryton/common/htmltextbuffer.py
--- old/tryton-4.2.6/tryton/common/htmltextbuffer.py    2017-08-08 
18:29:49.000000000 +0200
+++ new/tryton-4.2.7/tryton/common/htmltextbuffer.py    2017-10-03 
21:26:32.000000000 +0200
@@ -416,7 +416,8 @@
     win.add(vbox)
 
     text_buffer = gtk.TextBuffer()
-    text_view = gtk.TextView(text_buffer)
+    text_view = gtk.TextView()
+    text_view.set_buffer(text_buffer)
     vbox.pack_start(text_view)
 
     setup_tags(text_buffer)
Binary files old/tryton-4.2.6/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/de/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/es/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and 
new/tryton-4.2.7/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.2.6/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo 
and new/tryton-4.2.7/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.2.6/tryton/gui/window/view_form/model/field.py 
new/tryton-4.2.7/tryton/gui/window/view_form/model/field.py
--- old/tryton-4.2.6/tryton/gui/window/view_form/model/field.py 2017-05-03 
18:53:28.000000000 +0200
+++ new/tryton-4.2.7/tryton/gui/window/view_form/model/field.py 2017-10-03 
21:26:32.000000000 +0200
@@ -909,7 +909,7 @@
 
     def get_data(self, record):
         if not isinstance(record.value.get(self.name),
-                (basestring, bytes, bytearray)):
+                (basestring, bytes, bytearray, _FileCache)):
             if record.id < 0:
                 return ''
             context = record.context_get()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.2.6/tryton/gui/window/view_form/screen/screen.py 
new/tryton-4.2.7/tryton/gui/window/view_form/screen/screen.py
--- old/tryton-4.2.6/tryton/gui/window/view_form/screen/screen.py       
2017-08-08 18:29:49.000000000 +0200
+++ new/tryton-4.2.7/tryton/gui/window/view_form/screen/screen.py       
2017-10-03 21:26:32.000000000 +0200
@@ -725,6 +725,8 @@
             return
         if (view.view_type == 'tree'
                 and not view.attributes.get('tree_state', False)):
+            # Mark as done to not set later when the view_type change
+            self.tree_states_done.add(id(view))
             return
         parent = self.parent.id if self.parent else None
         if parent is not None and parent < 0:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/dictionary.py 
new/tryton-4.2.7/tryton/gui/window/view_form/view/form_gtk/dictionary.py
--- old/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/dictionary.py    
2017-05-03 18:53:29.000000000 +0200
+++ new/tryton-4.2.7/tryton/gui/window/view_form/view/form_gtk/dictionary.py    
2017-10-03 21:26:32.000000000 +0200
@@ -507,14 +507,17 @@
                 key_ids = RPCExecute('model', self.schema_model, 'search',
                     [('name', 'in', sub_keys), domain], 0,
                     CONFIG['client.limit'], None, context=context)
-                if not key_ids:
-                    continue
+            except RPCException:
+                key_ids = []
+            if not key_ids:
+                continue
+            try:
                 values = RPCExecute('model', self.schema_model,
                     'get_keys', key_ids, context=context)
-                if not values:
-                    continue
             except RPCException:
-                pass
+                values = []
+            if not values:
+                continue
             self.keys.update({k['name']: k for k in values})
 
     def display(self, record, field):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/textbox.py 
new/tryton-4.2.7/tryton/gui/window/view_form/view/form_gtk/textbox.py
--- old/tryton-4.2.6/tryton/gui/window/view_form/view/form_gtk/textbox.py       
2017-05-03 18:53:29.000000000 +0200
+++ new/tryton-4.2.7/tryton/gui/window/view_form/view/form_gtk/textbox.py       
2017-10-03 21:26:32.000000000 +0200
@@ -44,7 +44,8 @@
     def _get_textview(self):
         if self.attrs.get('size'):
             textbuffer = TextBufferLimitSize(int(self.attrs['size']))
-            textview = gtk.TextView(textbuffer)
+            textview = gtk.TextView()
+            textview.set_buffer(textbuffer)
         else:
             textview = gtk.TextView()
         textview.set_wrap_mode(gtk.WRAP_WORD)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.2.6/tryton.egg-info/PKG-INFO 
new/tryton-4.2.7/tryton.egg-info/PKG-INFO
--- old/tryton-4.2.6/tryton.egg-info/PKG-INFO   2017-08-08 18:29:52.000000000 
+0200
+++ new/tryton-4.2.7/tryton.egg-info/PKG-INFO   2017-10-03 21:30:38.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 4.2.6
+Version: 4.2.7
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to