[tryton-debian-vcs] tryton-client branch upstream-3.6 updated. upstream/3.6.4-1-g8b97322

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jan 17 20:26:17 UTC 2016


The following commit has been merged in the upstream-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=upstream/3.6.4-1-g8b97322

commit 8b973227bccf191960e722916ae111053483777f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jan 17 19:48:55 2016 +0100

    Adding upstream version 3.6.5.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index e816f9c..0acda64 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.5 - 2016-01-11
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.4 - 2015-11-09
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index ee03e0f..43d70ed 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,8 +1,8 @@
 Copyright (C) 2012-2013 Antoine Smolders.
 Copyright (C) 2010-2015 Nicolas Évrard.
-Copyright (C) 2007-2015 Cédric Krier.
+Copyright (C) 2007-2016 Cédric Krier.
 Copyright (C) 2007-2013 Bertrand Chenal.
-Copyright (C) 2008-2015 B2CK SPRL.
+Copyright (C) 2008-2016 B2CK SPRL.
 Copyright (C) 2008-2011 Udo Spallek.
 Copyright (C) 2008-2011 virtual things - Preisler & Spallek GbR.
 Copyright (C) 2011-2012 Rodrigo Hübner.
diff --git a/PKG-INFO b/PKG-INFO
index 782a6f7..55c480a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 3.6.4
+Version: 3.6.5
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton.egg-info/PKG-INFO b/tryton.egg-info/PKG-INFO
index 782a6f7..55c480a 100644
--- a/tryton.egg-info/PKG-INFO
+++ b/tryton.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 3.6.4
+Version: 3.6.5
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton/__init__.py b/tryton/__init__.py
index 7a6cd41..54b4e63 100644
--- a/tryton/__init__.py
+++ b/tryton/__init__.py
@@ -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__ = "3.6.4"
+__version__ = "3.6.5"
diff --git a/tryton/common/domain_inversion.py b/tryton/common/domain_inversion.py
index 7320271..422d867 100644
--- a/tryton/common/domain_inversion.py
+++ b/tryton/common/domain_inversion.py
@@ -95,7 +95,10 @@ def eval_leaf(part, context, boolop=operator.and_):
             '=': 'in',
             '!=': 'not in',
             }[operand]
-    return OPERATORS[operand](context_field, value)
+    try:
+        return OPERATORS[operand](context_field, value)
+    except TypeError:
+        return False
 
 
 def inverse_leaf(domain):
diff --git a/tryton/gui/window/view_form/view/form_gtk/many2one.py b/tryton/gui/window/view_form/view/form_gtk/many2one.py
index a786fc7..d92cf98 100644
--- a/tryton/gui/window/view_form/view/form_gtk/many2one.py
+++ b/tryton/gui/window/view_form/view/form_gtk/many2one.py
@@ -322,12 +322,14 @@ class Many2One(Widget):
 
     def _completion_match_selected(self, completion, model, iter_):
         rec_name, record_id = model.get(iter_, 0, 1)
-        self.field.set_client(self.record,
-            self.value_from_id(record_id, rec_name), force_change=True)
+        # GTK on win32 doesn't like synchronous call to set_client
+        # because it triggers a display which reset the completion
+        gobject.idle_add(self.field.set_client, self.record,
+            self.value_from_id(record_id, rec_name), True)
 
         completion_model = self.wid_completion.get_model()
         completion_model.clear()
-        completion_model.search_text = self.wid_text.get_text()
+        completion_model.search_text = rec_name
         return True
 
     def _update_completion(self, widget):
diff --git a/tryton/gui/window/win_export.py b/tryton/gui/window/win_export.py
index 31d8a4b..493151f 100644
--- a/tryton/gui/window/win_export.py
+++ b/tryton/gui/window/win_export.py
@@ -489,7 +489,7 @@ class WinExport(NoModal):
             return True
         except IOError, exception:
             common.warning(_("Operation failed!\nError message:\n%s")
-                % (exception.faultCode,), _('Error'))
+                % exception, _('Error'))
             return False
 
     def drag_begin(self, treeview, context):
-- 
tryton-client



More information about the tryton-debian-vcs mailing list