Hello community, here is the log from the commit of package proteus for openSUSE:Factory checked in at 2019-11-12 11:55:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/proteus (Old) and /work/SRC/openSUSE:Factory/.proteus.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proteus" Tue Nov 12 11:55:41 2019 rev:13 rq:747416 version:4.6.9 Changes: -------- --- /work/SRC/openSUSE:Factory/proteus/proteus.changes 2019-10-31 22:29:57.500696738 +0100 +++ /work/SRC/openSUSE:Factory/.proteus.new.2990/proteus.changes 2019-11-12 11:56:40.651423578 +0100 @@ -1,0 +2,5 @@ +Mon Nov 11 17:59:36 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.9 - Bugfix Release + +------------------------------------------------------------------- Old: ---- proteus-4.6.8.tar.gz New: ---- proteus-4.6.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ proteus.spec ++++++ --- /var/tmp/diff_new_pack.Tj8k1l/_old 2019-11-12 11:56:41.167424127 +0100 +++ /var/tmp/diff_new_pack.Tj8k1l/_new 2019-11-12 11:56:41.171424132 +0100 @@ -19,7 +19,7 @@ %define majorver 4.6 Name: proteus -Version: %{majorver}.8 +Version: %{majorver}.9 Release: 0 Summary: A library to access Tryton's modules like a client License: GPL-3.0-or-later ++++++ proteus-4.6.8.tar.gz -> proteus-4.6.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.8/.hgtags new/proteus-4.6.9/.hgtags --- old/proteus-4.6.8/.hgtags 2019-10-24 00:22:43.000000000 +0200 +++ new/proteus-4.6.9/.hgtags 2019-11-08 19:29:45.000000000 +0100 @@ -21,3 +21,4 @@ 8d23b72d421c4b63f59c547c127be62d561a0e31 4.6.6 8dbfcb22e5c639fafe68c6b6ff7043216aa89b33 4.6.7 4394fc330f5e1892ac336353c7198526603aa290 4.6.8 +c679b28235e62b38df99d0c4ef1bbede784f9c36 4.6.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.8/CHANGELOG new/proteus-4.6.9/CHANGELOG --- old/proteus-4.6.8/CHANGELOG 2019-10-24 00:22:42.000000000 +0200 +++ new/proteus-4.6.9/CHANGELOG 2019-11-08 19:29:45.000000000 +0100 @@ -1,3 +1,6 @@ +Version 4.6.9 - 2019-11-08 +* Bug fixes (see mercurial logs for details) + Version 4.6.8 - 2019-10-23 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.8/PKG-INFO new/proteus-4.6.9/PKG-INFO --- old/proteus-4.6.8/PKG-INFO 2019-10-24 00:22:43.000000000 +0200 +++ new/proteus-4.6.9/PKG-INFO 2019-11-08 19:29:46.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proteus -Version: 4.6.8 +Version: 4.6.9 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.8/proteus/__init__.py new/proteus-4.6.9/proteus/__init__.py --- old/proteus-4.6.8/proteus/__init__.py 2019-10-23 13:22:47.000000000 +0200 +++ new/proteus-4.6.9/proteus/__init__.py 2019-10-30 23:56:16.000000000 +0100 @@ -19,7 +19,7 @@ import proteus.config -__version__ = "4.6.8" +__version__ = "4.6.9" __all__ = ['Model', 'Wizard', 'Report'] _MODELS = threading.local() @@ -34,6 +34,8 @@ self.eval_type = eval_type def __getitem__(self, item): + if item == 'id': + return self.parent.id if item == '_parent_' + self.parent._parent_name \ and self.parent._parent: return _EvalEnvironment(self.parent._parent, @@ -65,6 +67,8 @@ __repr__ = __str__ def __contains__(self, item): + if item == 'id': + return True if item == '_parent_' + self.parent._parent_name \ and self.parent._parent: return True @@ -974,6 +978,16 @@ return values def _on_change_args(self, args): + # Ensure arguments has been read + for arg in args: + record = self + for i in arg.split('.'): + if i in record._fields: + getattr(record, i) + elif i == '_parent_' + record._parent_name: + getattr(record, record._parent_name) + record = record._parent + res = {} values = _EvalEnvironment(self, 'on_change') for arg in args: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-4.6.8/proteus.egg-info/PKG-INFO new/proteus-4.6.9/proteus.egg-info/PKG-INFO --- old/proteus-4.6.8/proteus.egg-info/PKG-INFO 2019-10-24 00:22:43.000000000 +0200 +++ new/proteus-4.6.9/proteus.egg-info/PKG-INFO 2019-11-08 19:29:46.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proteus -Version: 4.6.8 +Version: 4.6.9 Summary: Library to access Tryton server as a client Home-page: http://www.tryton.org/ Author: Tryton
