Hello community,

here is the log from the commit of package tryton for openSUSE:Factory checked 
in at 2019-06-01 09:48:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
 and      /work/SRC/openSUSE:Factory/.tryton.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tryton"

Sat Jun  1 09:48:01 2019 rev:29 rq:705908 version:4.6.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes    2019-04-11 
12:15:36.952884416 +0200
+++ /work/SRC/openSUSE:Factory/.tryton.new.5148/tryton.changes  2019-06-01 
09:48:02.763354064 +0200
@@ -1,0 +2,5 @@
+Fri May 17 10:31:24 UTC 2019 - Axel Braun <[email protected]>
+
+- Version 4.6.19 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  tryton-4.6.18.tar.gz

New:
----
  tryton-4.6.19.tar.gz

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

Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.z7TFt9/_old  2019-06-01 09:48:03.503353812 +0200
+++ /var/tmp/diff_new_pack.z7TFt9/_new  2019-06-01 09:48:03.507353810 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.6
 Name:           tryton
-Version:        %{majorver}.18
+Version:        %{majorver}.19
 Release:        0
 Summary:        The client of the Tryton application platform
 License:        GPL-3.0-only

++++++ tryton-4.6.18.tar.gz -> tryton-4.6.19.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/.hgtags new/tryton-4.6.19/.hgtags
--- old/tryton-4.6.18/.hgtags   2019-04-02 21:38:19.000000000 +0200
+++ new/tryton-4.6.19/.hgtags   2019-05-16 17:42:55.000000000 +0200
@@ -35,3 +35,4 @@
 dd6191f8ea5e6d2205d49bae23f5417c7e4dd347 4.6.16
 fa719654625129392702265195210c470f0cc2fc 4.6.17
 dd7b6493809d64fa3fdafba7ea3a250eb0a8f724 4.6.18
+15d54cd5d0a7ddef4002e627903a90c6ab942149 4.6.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/CHANGELOG new/tryton-4.6.19/CHANGELOG
--- old/tryton-4.6.18/CHANGELOG 2019-04-02 21:38:19.000000000 +0200
+++ new/tryton-4.6.19/CHANGELOG 2019-05-16 17:42:55.000000000 +0200
@@ -1,3 +1,6 @@
+Version 4.6.19 - 2019-05-16
+* Bug fixes (see mercurial logs for details)
+
 Version 4.6.18 - 2019-04-02
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/PKG-INFO new/tryton-4.6.19/PKG-INFO
--- old/tryton-4.6.18/PKG-INFO  2019-04-02 21:38:20.000000000 +0200
+++ new/tryton-4.6.19/PKG-INFO  2019-05-16 17:42:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tryton
-Version: 4.6.18
+Version: 4.6.19
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/tryton/__init__.py 
new/tryton-4.6.19/tryton/__init__.py
--- old/tryton-4.6.18/tryton/__init__.py        2019-03-15 19:00:47.000000000 
+0100
+++ new/tryton-4.6.19/tryton/__init__.py        2019-04-02 21:38:36.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.6.18"
+__version__ = "4.6.19"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/tryton/common/datetime_.py 
new/tryton-4.6.19/tryton/common/datetime_.py
--- old/tryton-4.6.18/tryton/common/datetime_.py        2018-08-20 
22:55:19.000000000 +0200
+++ new/tryton-4.6.19/tryton/common/datetime_.py        2019-05-04 
11:09:42.000000000 +0200
@@ -21,9 +21,19 @@
 
 
 def date_parse(text, format_='%x'):
+    try:
+        return datetime.datetime.strptime(text, format_)
+    except ValueError:
+        pass
     formatted_date = datetime.date(1988, 7, 16).strftime(format_)
-    dayfirst = formatted_date.index('16') == 0
-    monthfirst = formatted_date.index('7') <= 1
+    try:
+        dayfirst = formatted_date.index('16') == 0
+    except ValueError:
+        dayfirst = False
+    try:
+        monthfirst = formatted_date.index('7') <= 1
+    except ValueError:
+        monthfirst = False
     yearfirst = not dayfirst and not monthfirst
     return parse(text, dayfirst=dayfirst, yearfirst=yearfirst, ignoretz=True)
 
@@ -417,6 +427,10 @@
         self.__time.connect('time-changed',
             lambda e: self.emit('datetime-changed'))
 
+    def parse(self):
+        self.__date.parse()
+        self.__time.parse()
+
     def do_set_property(self, prop, value):
         if prop.name == 'value':
             self.__date.props.value = value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/tryton/common/selection.py 
new/tryton-4.6.19/tryton/common/selection.py
--- old/tryton-4.6.18/tryton/common/selection.py        2019-03-06 
23:59:35.000000000 +0100
+++ new/tryton-4.6.19/tryton/common/selection.py        2019-05-04 
11:09:42.000000000 +0200
@@ -94,7 +94,7 @@
 
         def _model_evaluator(allowed_models):
             def test(value):
-                return value[0] in allowed_models
+                return value[0] in allowed_models or not allowed_models
             return test
 
         if field.attrs['type'] == 'reference':
Binary files old/tryton-4.6.18/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/de/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/es/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and 
new/tryton-4.6.19/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.18/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo 
and new/tryton-4.6.19/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/calendar.py 
new/tryton-4.6.19/tryton/gui/window/view_form/view/form_gtk/calendar.py
--- old/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/calendar.py     
2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.19/tryton/gui/window/view_form/view/form_gtk/calendar.py     
2019-05-04 11:09:42.000000000 +0200
@@ -57,7 +57,7 @@
     def modified(self):
         if self.record and self.field:
             field_value = self.cast(self.field.get_client(self.record))
-            return field_value != self.entry.props.value
+            return field_value != self.get_value()
         return False
 
     def sig_key_press(self, widget, event):
@@ -67,6 +67,7 @@
         field.set_client(record, self.get_value())
 
     def get_value(self):
+        self.entry.parse()
         return self.entry.props.value
 
     def set_format(self, record, field):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/tryton/jsonrpc.py 
new/tryton-4.6.19/tryton/jsonrpc.py
--- old/tryton-4.6.18/tryton/jsonrpc.py 2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.19/tryton/jsonrpc.py 2019-05-04 11:09:42.000000000 +0200
@@ -16,6 +16,7 @@
 from functools import partial
 from contextlib import contextmanager
 import string
+from urllib import quote
 
 __all__ = ["ResponseError", "Fault", "ProtocolError", "Transport",
     "ServerProxy", "ServerPool"]
@@ -249,6 +250,7 @@
             fingerprints=None, ca_certs=None, session=None):
         self.__host = '%s:%s' % (host, port)
         if database:
+            database = quote(database)
             self.__handler = '/%s/' % database
         else:
             self.__handler = '/'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tryton-4.6.18/tryton.egg-info/PKG-INFO 
new/tryton-4.6.19/tryton.egg-info/PKG-INFO
--- old/tryton-4.6.18/tryton.egg-info/PKG-INFO  2019-04-02 21:38:20.000000000 
+0200
+++ new/tryton-4.6.19/tryton.egg-info/PKG-INFO  2019-05-16 17:42:56.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tryton
-Version: 4.6.18
+Version: 4.6.19
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to