Hello community,

here is the log from the commit of package trytond for openSUSE:Factory checked 
in at 2019-02-24 17:18:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond (Old)
 and      /work/SRC/openSUSE:Factory/.trytond.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond"

Sun Feb 24 17:18:08 2019 rev:30 rq:677896 version:4.6.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond/trytond.changes  2019-02-02 
21:49:50.627949917 +0100
+++ /work/SRC/openSUSE:Factory/.trytond.new.28833/trytond.changes       
2019-02-24 17:18:08.996421165 +0100
@@ -1,0 +2,5 @@
+Wed Feb 20 21:06:03 UTC 2019 - Axel Braun <axel.br...@gmx.de>
+
+- Version 4.6.13 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond-4.6.12.tar.gz

New:
----
  trytond-4.6.13.tar.gz

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

Other differences:
------------------
++++++ trytond.spec ++++++
--- /var/tmp/diff_new_pack.T0thqS/_old  2019-02-24 17:18:09.680421044 +0100
+++ /var/tmp/diff_new_pack.T0thqS/_new  2019-02-24 17:18:09.684421042 +0100
@@ -20,7 +20,7 @@
 %define majorver 4.6
 %define base_name tryton
 Name:           trytond
-Version:        %{majorver}.12
+Version:        %{majorver}.13
 Release:        0
 
 Summary:        An Enterprise Resource Planning (ERP) system

++++++ trytond-4.6.12.tar.gz -> trytond-4.6.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/.hgtags new/trytond-4.6.13/.hgtags
--- old/trytond-4.6.12/.hgtags  2019-01-22 22:15:16.000000000 +0100
+++ new/trytond-4.6.13/.hgtags  2019-02-19 21:36:25.000000000 +0100
@@ -29,3 +29,4 @@
 33062440736f51dcb35af1c9f352bc774b41dca4 4.6.10
 7a9cd116456e44ab424e84e8449281ee54f9d37c 4.6.11
 2df97bd1d3af946c8a0af4c96a0661c2c1213e23 4.6.12
+59030dbfa9eb91e5c62702d07aa364f73ad31f83 4.6.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/CHANGELOG new/trytond-4.6.13/CHANGELOG
--- old/trytond-4.6.12/CHANGELOG        2019-01-22 22:15:16.000000000 +0100
+++ new/trytond-4.6.13/CHANGELOG        2019-02-19 21:36:25.000000000 +0100
@@ -1,3 +1,6 @@
+Version 4.6.13 - 2019-02-19
+* Bug fixes (see mercurial logs for details)
+
 Version 4.6.12 - 2019-01-22
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/COPYRIGHT new/trytond-4.6.13/COPYRIGHT
--- old/trytond-4.6.12/COPYRIGHT        2019-01-22 22:15:15.000000000 +0100
+++ new/trytond-4.6.13/COPYRIGHT        2019-02-19 21:36:24.000000000 +0100
@@ -3,7 +3,7 @@
 Copyright (C) 2007-2013 Bertrand Chenal.
 Copyright (C) 2008-2019 B2CK SPRL.
 Copyright (C) 2011 Openlabs Technologies & Consulting (P) Ltd.
-Copyright (C) 2011-2018 Nicolas Évrard.
+Copyright (C) 2011-2019 Nicolas Évrard.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/PKG-INFO new/trytond-4.6.13/PKG-INFO
--- old/trytond-4.6.12/PKG-INFO 2019-01-22 22:15:17.000000000 +0100
+++ new/trytond-4.6.13/PKG-INFO 2019-02-19 21:36:26.000000000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: trytond
-Version: 4.6.12
+Version: 4.6.13
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.6/
-Description-Content-Type: UNKNOWN
 Description: trytond
         =======
         
@@ -128,3 +127,11 @@
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries :: Application 
Frameworks
+Provides-Extra: unoconv
+Provides-Extra: PostgreSQL
+Provides-Extra: Levenshtein
+Provides-Extra: graphviz
+Provides-Extra: cdecimal
+Provides-Extra: html2text
+Provides-Extra: MySQL
+Provides-Extra: BCrypt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/trytond/__init__.py 
new/trytond-4.6.13/trytond/__init__.py
--- old/trytond-4.6.12/trytond/__init__.py      2019-01-05 18:28:41.000000000 
+0100
+++ new/trytond-4.6.13/trytond/__init__.py      2019-01-22 22:15:51.000000000 
+0100
@@ -5,7 +5,7 @@
 import warnings
 from email import charset
 
-__version__ = "4.6.12"
+__version__ = "4.6.13"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/trytond/cache.py 
new/trytond-4.6.13/trytond/cache.py
--- old/trytond-4.6.12/trytond/cache.py 2018-08-20 22:55:19.000000000 +0200
+++ new/trytond-4.6.13/trytond/cache.py 2019-02-10 23:43:19.000000000 +0100
@@ -72,7 +72,7 @@
     def __init__(self, name, size_limit=1024, context=True):
         super(MemoryCache, self).__init__(name, size_limit, context)
         self._cache = {}
-        self._timestamp = None
+        self._timestamp = {}
         self._lock = Lock()
 
     def get(self, key, default=None):
@@ -115,9 +115,10 @@
         for inst in Cache._cache_instance:
             if inst._name in timestamps:
                 with inst._lock:
-                    if (not inst._timestamp
-                            or timestamps[inst._name] > inst._timestamp):
-                        inst._timestamp = timestamps[inst._name]
+                    inst_timestamp = inst._timestamp.get(dbname)
+                    if (not inst_timestamp
+                            or timestamps[inst._name] > inst_timestamp):
+                        inst._timestamp[dbname] = timestamps[inst._name]
                         inst._cache[dbname] = LRUDict(inst.size_limit)
 
     @staticmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/trytond/ir/translation.py 
new/trytond-4.6.13/trytond/ir/translation.py
--- old/trytond-4.6.12/trytond/ir/translation.py        2018-08-20 
22:55:19.000000000 +0200
+++ new/trytond-4.6.13/trytond/ir/translation.py        2019-02-10 
23:43:19.000000000 +0100
@@ -77,7 +77,7 @@
     overriding_module = fields.Char('Overriding Module', readonly=True)
     _translation_cache = Cache('ir.translation', size_limit=10240,
         context=False)
-    _get_language_cache = Cache('ir.translation')
+    _get_language_cache = Cache('ir.translation.get_language')
 
     @classmethod
     def __setup__(cls):
@@ -525,12 +525,16 @@
                 to_save = []
                 for record, value in izip(records, values):
                     translation = translations.get(get_name(record))
+                    if lang == 'en':
+                        src = value
+                    else:
+                        src = getattr(record, field_name)
                     if not translation:
                         translation = cls()
                         translation.name = name
                         translation.lang = lang
                         translation.type = ttype
-                    translation.src = getattr(record, field_name)
+                    translation.src = src
                     translation.value = value
                     translation.fuzzy = False
                     to_save.append(translation)
@@ -566,6 +570,10 @@
             to_save = []
             for record, value in izip(records, values):
                 translation = translations.get(record.id)
+                if lang == Config.get_language():
+                    src = value
+                else:
+                    src = getattr(record, field_name)
                 if not translation:
                     translation = cls()
                     translation.name = name
@@ -573,19 +581,14 @@
                     translation.type = ttype
                     translation.res_id = record.id
                 else:
-                    cls.write([translation], {
-                        'value': value,
-                        'src': getattr(record, field_name),
-                        'fuzzy': False,
-                        })
                     other_langs = other_translations.get(record.id)
                     if other_langs:
                         for other_lang in other_langs:
-                            other_lang.src = getattr(record, field_name)
+                            other_lang.src = src
                             other_lang.fuzzy = True
                             to_save.append(other_lang)
                 translation.value = value
-                translation.src = getattr(record, field_name)
+                translation.src = src
                 translation.fuzzy = False
                 to_save.append(translation)
             cls.save(to_save)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/trytond/transaction.py 
new/trytond-4.6.13/trytond/transaction.py
--- old/trytond-4.6.12/trytond/transaction.py   2018-08-20 22:55:19.000000000 
+0200
+++ new/trytond-4.6.13/trytond/transaction.py   2019-02-10 23:43:19.000000000 
+0100
@@ -145,8 +145,11 @@
                 for func, args, kwargs in self._atexit:
                     func(*args, **kwargs)
         finally:
-            current_instance = transactions.pop()
-        assert current_instance is self, transactions
+            transactions.reverse()
+            try:
+                transactions.remove(self)
+            finally:
+                transactions.reverse()
 
     def set_context(self, context=None, **kwargs):
         if context is None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-4.6.12/trytond.egg-info/PKG-INFO 
new/trytond-4.6.13/trytond.egg-info/PKG-INFO
--- old/trytond-4.6.12/trytond.egg-info/PKG-INFO        2019-01-22 
22:15:17.000000000 +0100
+++ new/trytond-4.6.13/trytond.egg-info/PKG-INFO        2019-02-19 
21:36:26.000000000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: trytond
-Version: 4.6.12
+Version: 4.6.13
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_trac...@tryton.org
 License: GPL-3
 Download-URL: http://downloads.tryton.org/4.6/
-Description-Content-Type: UNKNOWN
 Description: trytond
         =======
         
@@ -128,3 +127,11 @@
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries :: Application 
Frameworks
+Provides-Extra: unoconv
+Provides-Extra: PostgreSQL
+Provides-Extra: Levenshtein
+Provides-Extra: graphviz
+Provides-Extra: cdecimal
+Provides-Extra: html2text
+Provides-Extra: MySQL
+Provides-Extra: BCrypt


Reply via email to