Hello community, here is the log from the commit of package proteus for openSUSE:Factory checked in at 2019-09-23 12:46:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/proteus (Old) and /work/SRC/openSUSE:Factory/.proteus.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proteus" Mon Sep 23 12:46:18 2019 rev:11 rq:732523 version:4.6.7 Changes: -------- --- /work/SRC/openSUSE:Factory/proteus/proteus.changes 2019-06-01 09:48:00.107354971 +0200 +++ /work/SRC/openSUSE:Factory/.proteus.new.7948/proteus.changes 2019-09-23 12:46:20.753521827 +0200 @@ -1,0 +2,5 @@ +Sun Sep 15 16:38:50 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.7 - Bugfix Release + +------------------------------------------------------------------- Old: ---- proteus-4.6.6.tar.gz New: ---- proteus-4.6.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ proteus.spec ++++++ --- /var/tmp/diff_new_pack.6wWyy2/_old 2019-09-23 12:46:21.157521760 +0200 +++ /var/tmp/diff_new_pack.6wWyy2/_new 2019-09-23 12:46:21.161521759 +0200 @@ -19,7 +19,7 @@ %define majorver 4.6 Name: proteus -Version: %{majorver}.6 +Version: %{majorver}.7 Release: 0 Summary: A library to access Tryton's modules like a client License: GPL-3.0-or-later ++++++ proteus-4.6.6.tar.gz -> proteus-4.6.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.6/.hgtags new/proteus-4.6.7/.hgtags --- old/proteus-4.6.6/.hgtags 2019-04-22 10:41:27.000000000 +0200 +++ new/proteus-4.6.7/.hgtags 2019-09-15 14:27:30.000000000 +0200 @@ -19,3 +19,4 @@ 1357255a797f53827a663cd4ea3d08a5448ab9df 4.6.4 4b75c46d9bf62a307b5c6e23a13e5500a6f1f24f 4.6.5 8d23b72d421c4b63f59c547c127be62d561a0e31 4.6.6 +8dbfcb22e5c639fafe68c6b6ff7043216aa89b33 4.6.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.6/CHANGELOG new/proteus-4.6.7/CHANGELOG --- old/proteus-4.6.6/CHANGELOG 2019-04-22 10:41:26.000000000 +0200 +++ new/proteus-4.6.7/CHANGELOG 2019-09-15 14:27:30.000000000 +0200 @@ -1,3 +1,6 @@ +Version 4.6.7 - 2019-09-15 +* Bug fixes (see mercurial logs for details) + Version 4.6.6 - 2019-04-22 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.6/PKG-INFO new/proteus-4.6.7/PKG-INFO --- old/proteus-4.6.6/PKG-INFO 2019-04-22 10:41:27.000000000 +0200 +++ new/proteus-4.6.7/PKG-INFO 2019-09-15 14:27:31.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proteus -Version: 4.6.6 +Version: 4.6.7 Summary: Library to access Tryton server as a client Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.6/proteus/__init__.py new/proteus-4.6.7/proteus/__init__.py --- old/proteus-4.6.6/proteus/__init__.py 2018-12-03 00:48:04.000000000 +0100 +++ new/proteus-4.6.7/proteus/__init__.py 2019-09-12 23:23:23.000000000 +0200 @@ -19,7 +19,7 @@ import proteus.config -__version__ = "4.6.6" +__version__ = "4.6.7" __all__ = ['Model', 'Wizard', 'Report'] _MODELS = threading.local() @@ -855,8 +855,19 @@ 'Return dictionary values' if fields is None: fields = self._values.keys() - return dict((x, getattr(self, '__%s_value' % x)) for x in fields - if x not in ('id', '_timestamp')) + values = {} + for name in fields: + if name in ['id', '_timestamp']: + continue + definition = self._fields[name] + if definition.get('readonly') and definition['type'] != 'one2many': + continue + values[name] = getattr(self, '__%s_value' % name) + # Sending an empty X2Many fields breaks ModelFieldAccess.check + if (definition['type'] in {'one2many', 'many2many'} + and not values[name]): + del values[name] + return values @property def _timestamp(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.6/proteus.egg-info/PKG-INFO new/proteus-4.6.7/proteus.egg-info/PKG-INFO --- old/proteus-4.6.6/proteus.egg-info/PKG-INFO 2019-04-22 10:41:27.000000000 +0200 +++ new/proteus-4.6.7/proteus.egg-info/PKG-INFO 2019-09-15 14:27:31.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proteus -Version: 4.6.6 +Version: 4.6.7 Summary: Library to access Tryton server as a client Home-page: http://www.tryton.org/ Author: Tryton
