[tryton-debian-vcs] tryton-client branch debian-jessie-3.0 updated. debian/3.0.13-1-3-g82e1068

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


The following commit has been merged in the debian-jessie-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=debian/3.0.13-1-3-g82e1068

commit 82e1068cf9edd2a136e64bab67f0d7712b5897db
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jan 17 19:42:38 2016 +0100

    Releasing debian version 3.0.14-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 374015b..5e53959 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-client (3.0.14-1) unstable; urgency=medium
+
+  * Merging upstream version 3.0.14.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sun, 17 Jan 2016 19:42:38 +0100
+
 tryton-client (3.0.13-1) unstable; urgency=medium
 
   * Merging upstream version 3.0.13.
commit 8cfdfc3209f23fe4f9d285209487c8d840c227b3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jan 17 19:42:38 2016 +0100

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 9d15679..1115af8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,9 +3,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Files: *
 Copyright: 2012-2013 Antoine Smolders
            2010-2015 Nicolas Évrard
-           2007-2015 Cédric Krier
+           2007-2016 Cédric Krier
            2007-2013 Bertrand Chenal
-           2008-2015 B2CK SPRL
+           2008-2016 B2CK SPRL
            2008-2011 Udo Spallek
            2008-2011 virtual things - Preisler & Spallek GbR
            2011-2012 Rodrigo Hübner
commit 5f1f4af1f6ce3b4dab8f9e420187450feb589480
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jan 17 19:42:38 2016 +0100

    Merging upstream version 3.0.14.

diff --git a/CHANGELOG b/CHANGELOG
index 8f569d2..eee99b6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.14 - 2016-01-11
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.13 - 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 454df88..8015be3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 3.0.13
+Version: 3.0.14
 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 454df88..8015be3 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.0.13
+Version: 3.0.14
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton/common/domain_inversion.py b/tryton/common/domain_inversion.py
index a50eaa3..f42e2b8 100644
--- a/tryton/common/domain_inversion.py
+++ b/tryton/common/domain_inversion.py
@@ -85,7 +85,10 @@ def eval_leaf(part, context, boolop=operator.and_):
             context_field = '%s,%s' % context_field
         except TypeError:
             pass
-    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 3750eef..f0b7e29 100644
--- a/tryton/gui/window/view_form/view/form_gtk/many2one.py
+++ b/tryton/gui/window/view_form/view/form_gtk/many2one.py
@@ -367,12 +367,14 @@ class Many2One(WidgetInterface):
 
     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 02eaffc..3b760ac 100644
--- a/tryton/gui/window/win_export.py
+++ b/tryton/gui/window/win_export.py
@@ -432,7 +432,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 datas_read(self, ids, model, fields, context=None):
diff --git a/tryton/version.py b/tryton/version.py
index 160f4ed..972a700 100644
--- a/tryton/version.py
+++ b/tryton/version.py
@@ -1,6 +1,6 @@
 #This file is part of Tryton.  The COPYRIGHT file at the top level of
 #this repository contains the full copyright notices and license terms.
 PACKAGE = "tryton"
-VERSION = "3.0.13"
+VERSION = "3.0.14"
 LICENSE = "GPL-3"
 WEBSITE = "http://www.tryton.org/"
-- 
tryton-client



More information about the tryton-debian-vcs mailing list