Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2019-10-31 22:30:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Thu Oct 31 22:30:37 2019 rev:36 rq:744379 version:4.6.21 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2019-09-23 12:46:25.145521104 +0200 +++ /work/SRC/openSUSE:Factory/.trytond.new.2990/trytond.changes 2019-10-31 22:30:38.836752419 +0100 @@ -1,0 +2,6 @@ +Thu Oct 24 06:50:06 UTC 2019 - Axel Braun <[email protected]> + +- Version 4.6.21 - Bugfix Release + home directory of tryton user corrected + +------------------------------------------------------------------- Old: ---- trytond-4.6.20.tar.gz New: ---- trytond-4.6.21.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.YOGoCY/_old 2019-10-31 22:30:41.092755458 +0100 +++ /var/tmp/diff_new_pack.YOGoCY/_new 2019-10-31 22:30:41.104755474 +0100 @@ -20,7 +20,7 @@ %define majorver 4.6 %define base_name tryton Name: trytond -Version: %{majorver}.20 +Version: %{majorver}.21 Release: 0 Summary: An Enterprise Resource Planning (ERP) system @@ -110,7 +110,7 @@ getent group tryton > /dev/null || %{_sbindir}/groupadd -r tryton || : getent passwd tryton > /dev/null || %{_sbindir}/useradd -r -g tryton \ - -d %{_localstatedir}/lib/%{name} -s /sbin/nologin \ + -d %{_localstatedir}/lib/tryton -s /sbin/nologin \ -c 'Tryton ERP' tryton || : %service_add_pre trytond.service ++++++ trytond-4.6.20.tar.gz -> trytond-4.6.21.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/.hgtags new/trytond-4.6.21/.hgtags --- old/trytond-4.6.20/.hgtags 2019-09-15 14:11:58.000000000 +0200 +++ new/trytond-4.6.21/.hgtags 2019-10-06 13:47:32.000000000 +0200 @@ -37,3 +37,4 @@ 2fab4255222aaa45586f14ecc9a91c7cba633a69 4.6.18 d93c88d939d937c37beced393d7d9628529232eb 4.6.19 1d3c174a7e052deba0816c8ae6138a42a525086e 4.6.20 +a10b14a6606b3c165a56fa4ba4fa8b64b507b7d9 4.6.21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/CHANGELOG new/trytond-4.6.21/CHANGELOG --- old/trytond-4.6.20/CHANGELOG 2019-09-15 14:11:57.000000000 +0200 +++ new/trytond-4.6.21/CHANGELOG 2019-10-06 13:47:32.000000000 +0200 @@ -1,3 +1,6 @@ +Version 4.6.21 - 2019-10-06 +* Bug fixes (see mercurial logs for details) + Version 4.6.20 - 2019-09-15 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/PKG-INFO new/trytond-4.6.21/PKG-INFO --- old/trytond-4.6.20/PKG-INFO 2019-09-15 14:11:59.000000000 +0200 +++ new/trytond-4.6.21/PKG-INFO 2019-10-06 13:47:33.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 4.6.20 +Version: 4.6.21 Summary: Tryton server Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/trytond/__init__.py new/trytond-4.6.21/trytond/__init__.py --- old/trytond-4.6.20/trytond/__init__.py 2019-08-17 11:55:19.000000000 +0200 +++ new/trytond-4.6.21/trytond/__init__.py 2019-09-15 14:12:33.000000000 +0200 @@ -5,7 +5,7 @@ import warnings from email import charset -__version__ = "4.6.20" +__version__ = "4.6.21" os.environ['TZ'] = 'UTC' if hasattr(time, 'tzset'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/trytond/model/modelview.py new/trytond-4.6.21/trytond/model/modelview.py --- old/trytond-4.6.20/trytond/model/modelview.py 2019-03-28 19:53:23.000000000 +0100 +++ new/trytond-4.6.21/trytond/model/modelview.py 2019-09-19 19:08:12.000000000 +0200 @@ -719,16 +719,17 @@ value = value.id elif field._type == 'one2many': targets = value - init_targets = list(init_values.get(fname, [])) + init_targets = list(init_values.get(fname, targets)) value = collections.defaultdict(list) value['remove'] = [t.id for t in init_targets if t.id] for i, target in enumerate(targets): if target.id in value['remove']: value['remove'].remove(target.id) - target_changed = target._changed_values - if target_changed: - target_changed['id'] = target.id - value['update'].append(target_changed) + if isinstance(target, ModelView): + target_changed = target._changed_values + if target_changed: + target_changed['id'] = target.id + value['update'].append(target_changed) else: if isinstance(target, ModelView): # Ensure initial values are returned because target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-4.6.20/trytond.egg-info/PKG-INFO new/trytond-4.6.21/trytond.egg-info/PKG-INFO --- old/trytond-4.6.20/trytond.egg-info/PKG-INFO 2019-09-15 14:11:58.000000000 +0200 +++ new/trytond-4.6.21/trytond.egg-info/PKG-INFO 2019-10-06 13:47:33.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 4.6.20 +Version: 4.6.21 Summary: Tryton server Home-page: http://www.tryton.org/ Author: Tryton
