Hello community, here is the log from the commit of package tryton for openSUSE:Factory checked in at 2018-06-20 15:22:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tryton (Old) and /work/SRC/openSUSE:Factory/.tryton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton" Wed Jun 20 15:22:42 2018 rev:17 rq:615209 version:4.2.14 Changes: -------- --- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2018-05-15 10:33:31.963900044 +0200 +++ /work/SRC/openSUSE:Factory/.tryton.new/tryton.changes 2018-06-20 15:22:55.308435565 +0200 @@ -1,0 +2,5 @@ +Tue Jun 5 13:41:15 UTC 2018 - [email protected] + +- Version 4.2.14 - Bugfix Release + +------------------------------------------------------------------- Old: ---- tryton-4.2.12.tar.gz New: ---- tryton-4.2.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton.spec ++++++ --- /var/tmp/diff_new_pack.Ok62tR/_old 2018-06-20 15:22:58.972302679 +0200 +++ /var/tmp/diff_new_pack.Ok62tR/_new 2018-06-20 15:22:58.976302534 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: tryton -Version: %{majorver}.12 +Version: %{majorver}.14 Release: 0 Summary: The client of the Tryton application platform License: GPL-3.0-only ++++++ tryton-4.2.12.tar.gz -> tryton-4.2.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/.hgtags new/tryton-4.2.14/.hgtags --- old/tryton-4.2.12/.hgtags 2018-05-07 23:23:21.000000000 +0200 +++ new/tryton-4.2.14/.hgtags 2018-05-28 23:13:29.000000000 +0200 @@ -26,3 +26,5 @@ f87f133c82332bdf6c95212cfc2154e9f619d912 4.2.10 26bdb5d99ec5508992d7e31b3a79f4642b62f4f4 4.2.11 f76587132ea54f6983ed88049858be990e15c41d 4.2.12 +d9ab1bf99518e4d50bb207dae7f8591da705d183 4.2.13 +edeaae0388d3cfc8e8b510ac8abb2e0ffa999fd4 4.2.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/CHANGELOG new/tryton-4.2.14/CHANGELOG --- old/tryton-4.2.12/CHANGELOG 2018-05-07 23:23:21.000000000 +0200 +++ new/tryton-4.2.14/CHANGELOG 2018-05-28 23:13:29.000000000 +0200 @@ -1,3 +1,9 @@ +Version 4.2.14 - 2018-05-28 +* Bug fixes (see mercurial logs for details) + +Version 4.2.13 - 2018-05-22 +* Bug fixes (see mercurial logs for details) + Version 4.2.12 - 2018-05-07 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/PKG-INFO new/tryton-4.2.14/PKG-INFO --- old/tryton-4.2.12/PKG-INFO 2018-05-07 23:23:22.000000000 +0200 +++ new/tryton-4.2.14/PKG-INFO 2018-05-28 23:13:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.12 +Version: 4.2.14 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.12/tryton/__init__.py new/tryton-4.2.14/tryton/__init__.py --- old/tryton-4.2.12/tryton/__init__.py 2018-03-15 21:31:12.000000000 +0100 +++ new/tryton-4.2.14/tryton/__init__.py 2018-05-22 08:55:24.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.12" +__version__ = "4.2.14" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/tryton/common/domain_inversion.py new/tryton-4.2.14/tryton/common/domain_inversion.py --- old/tryton-4.2.12/tryton/common/domain_inversion.py 2018-03-15 21:30:55.000000000 +0100 +++ new/tryton-4.2.14/tryton/common/domain_inversion.py 2018-05-22 08:55:08.000000000 +0200 @@ -75,15 +75,19 @@ if (isinstance(context_field, basestring) and isinstance(value, (list, tuple))): try: - value = '%s,%s' % value + value = '%s,%s' % tuple(value) except TypeError: pass elif (isinstance(context_field, (list, tuple)) and isinstance(value, basestring)): try: - context_field = '%s,%s' % context_field + context_field = '%s,%s' % tuple(context_field) except TypeError: pass + elif ((isinstance(context_field, list) and isinstance(value, tuple)) + or (isinstance(context_field, tuple) and isinstance(value, list))): + context_field = list(context_field) + value = list(value) if (operand in ('=', '!=') and isinstance(context_field, (list, tuple)) and isinstance(value, (int, long))): @@ -589,6 +593,19 @@ domain = [['x', '=', None]] assert eval_domain(domain, {'x': []}) + domain = [['x', '=', ['foo', 1]]] + assert eval_domain(domain, {'x': 'foo,1'}) + assert eval_domain(domain, {'x': ('foo', 1)}) + assert eval_domain(domain, {'x': ['foo', 1]}) + domain = [['x', '=', ('foo', 1)]] + assert eval_domain(domain, {'x': 'foo,1'}) + assert eval_domain(domain, {'x': ('foo', 1)}) + assert eval_domain(domain, {'x': ['foo', 1]}) + + domain = [['x', '=', 'foo,1']] + assert eval_domain(domain, {'x': ['foo', 1]}) + assert eval_domain(domain, {'x': ('foo', 1)}) + def test_localize(): domain = [['x', '=', 5]] Binary files old/tryton-4.2.12/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/de/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/es/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.12/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and new/tryton-4.2.14/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/tryton/gui/window/attachment.py new/tryton-4.2.14/tryton/gui/window/attachment.py --- old/tryton-4.2.12/tryton/gui/window/attachment.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.14/tryton/gui/window/attachment.py 2018-05-22 08:55:08.000000000 +0200 @@ -22,7 +22,7 @@ title = _('Attachments (%s)') % (record.rec_name()) screen = Screen('ir.attachment', domain=[ ('resource', '=', self.resource), - ], mode=['tree', 'form'], exclude_field='resource') + ], mode=['tree', 'form']) super(Attachment, self).__init__(screen, self.callback, view_type='tree', title=title) screen.search_filter() @@ -33,10 +33,7 @@ def callback(self, result): if result: - resource = self.screen.group.fields['resource'] - for record in self.screen.group: - resource.set_client(record, self.resource) - self.screen.group.save() + self.screen.save_current() if self.attachment_callback: self.attachment_callback() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/tryton/gui/window/note.py new/tryton-4.2.14/tryton/gui/window/note.py --- old/tryton-4.2.12/tryton/gui/window/note.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.14/tryton/gui/window/note.py 2018-05-22 08:55:08.000000000 +0200 @@ -17,7 +17,7 @@ title = _('Notes (%s)') % (record.rec_name()) screen = Screen('ir.note', domain=[ ('resource', '=', self.resource), - ], mode=['tree', 'form'], exclude_field='resource') + ], mode=['tree', 'form']) super(Note, self).__init__(screen, self.callback, view_type='tree', title=title) screen.search_filter() @@ -28,11 +28,9 @@ def callback(self, result): if result: - resource = self.screen.group.fields['resource'] unread = self.screen.group.fields['unread'] for record in self.screen.group: if record.loaded or record.id < 0: - resource.set_client(record, self.resource) if 'unread' not in record.modified_fields: unread.set_client(record, False) self.screen.group.save() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.12/tryton.egg-info/PKG-INFO new/tryton-4.2.14/tryton.egg-info/PKG-INFO --- old/tryton-4.2.12/tryton.egg-info/PKG-INFO 2018-05-07 23:23:22.000000000 +0200 +++ new/tryton-4.2.14/tryton.egg-info/PKG-INFO 2018-05-28 23:13:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.12 +Version: 4.2.14 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.12/win32/gtk-2.0/gdk-pixbuf.loaders new/tryton-4.2.14/win32/gtk-2.0/gdk-pixbuf.loaders --- old/tryton-4.2.12/win32/gtk-2.0/gdk-pixbuf.loaders 2017-12-05 00:04:07.000000000 +0100 +++ new/tryton-4.2.14/win32/gtk-2.0/gdk-pixbuf.loaders 2018-05-28 23:13:26.000000000 +0200 @@ -1,14 +1,114 @@ -# GdkPixbuf Image Loader Modules file -# Automatically generated file, do not edit -# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.35.4 -# -# LoaderDir = lib/gdk-pixbuf-2.0/2.10.0/loaders -# -"lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll" -"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL" -"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" "" -"svg" "svgz" "svg.gz" "" -" <svg" "* " 100 -" <!DOCTYPE svg" "* " 100 - - +# GdkPixbuf Image Loader Modules file +# Automatically generated file, do not edit +# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.36.12 +# +# LoaderDir = lib\gdk-pixbuf-2.0\2.10.0\loaders +# +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-ani.dll" +"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL" +"application/x-navi-animation" "" +"ani" "" +"RIFF ACON" " xxxx " 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-bmp.dll" +"bmp" 5 "gdk-pixbuf" "BMP" "LGPL" +"image/bmp" "image/x-bmp" "image/x-MS-bmp" "" +"bmp" "" +"BM" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-gif.dll" +"gif" 4 "gdk-pixbuf" "GIF" "LGPL" +"image/gif" "" +"gif" "" +"GIF8" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-icns.dll" +"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL" +"image/x-icns" "" +"icns" "" +"icns" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-ico.dll" +"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL" +"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" "" +"ico" "cur" "" +" \001 " "zz znz" 100 +" \002 " "zz znz" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-jasper.dll" +"jpeg2000" 4 "gdk-pixbuf" "JPEG 2000" "LGPL" +"image/jp2" "image/jpeg2000" "image/jpx" "" +"jp2" "jpc" "jpx" "j2k" "jpf" "" +" jP" "!!!! " 100 +"\377O\377Q" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-jpeg.dll" +"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL" +"image/jpeg" "" +"jpeg" "jpe" "jpg" "" +"\377\330" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-png.dll" +"png" 5 "gdk-pixbuf" "PNG" "LGPL" +"image/png" "" +"png" "" +"\211PNG\r\n\032\n" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-pnm.dll" +"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL" +"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" "" +"pnm" "pbm" "pgm" "ppm" "" +"P1" "" 100 +"P2" "" 100 +"P3" "" 100 +"P4" "" 100 +"P5" "" 100 +"P6" "" 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-qtif.dll" +"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL" +"image/x-quicktime" "image/qtif" "" +"qtif" "qif" "" +"abcdidsc" "xxxx " 100 +"abcdidat" "xxxx " 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-svg.dll" +"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL" +"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" "" +"svg" "svgz" "svg.gz" "" +" <svg" "* " 100 +" <!DOCTYPE svg" "* " 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-tga.dll" +"tga" 4 "gdk-pixbuf" "Targa" "LGPL" +"image/x-tga" "" +"tga" "targa" "" +" \001\001" "x " 100 +" \001\t" "x " 100 +" \002" "xz " 99 +" \003" "xz " 100 +" \n" "xz " 100 +" \v" "xz " 100 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-tiff.dll" +"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL" +"image/tiff" "" +"tiff" "tif" "" +"MM *" " z " 100 +"II* " " z" 100 +"II* \020 CR\002 " " z zzz z" 0 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-xbm.dll" +"xbm" 4 "gdk-pixbuf" "XBM" "LGPL" +"image/x-xbitmap" "" +"xbm" "" +"#define " "" 100 +"/*" "" 50 + +"lib\\gdk-pixbuf-2.0\\2.10.0\\loaders\\libpixbufloader-xpm.dll" +"xpm" 4 "gdk-pixbuf" "XPM" "LGPL" +"image/x-xpixmap" "" +"xpm" "" +"/* XPM */" "" 100 + +
