[tryton-debian-vcs] tryton-client branch debian-wheezy-2.6 updated. debian/2.6.11-1-2-gd0a647c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Aug 26 16:41:25 UTC 2014


The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=debian/2.6.11-1-2-gd0a647c

commit d0a647c3fb94bcb72a3d0961a15226b08feb06a8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Aug 26 13:55:31 2014 +0200

    Releasing debian version 2.6.12-1.

diff --git a/debian/changelog b/debian/changelog
index 143c15b..69beb48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-client (2.6.12-1) unstable; urgency=medium
+
+  * Merging upstream version 2.6.12.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 26 Aug 2014 13:55:29 +0200
+
 tryton-client (2.6.11-1) unstable; urgency=medium
 
   * Merging upstream version 2.6.11.
commit dcfcebc1bab73a62899f9f219ce92fc9ccc5c01c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Aug 26 13:55:18 2014 +0200

    Merging upstream version 2.6.12.

diff --git a/CHANGELOG b/CHANGELOG
index 1552748..822a872 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.12 - 2014-08-03
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.11 - 2014-07-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index ac3ded5..4aa65e6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 2.6.11
+Version: 2.6.12
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/tryton.egg-info/PKG-INFO b/tryton.egg-info/PKG-INFO
index ac3ded5..4aa65e6 100644
--- a/tryton.egg-info/PKG-INFO
+++ b/tryton.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 2.6.11
+Version: 2.6.12
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/tryton/common/domain_inversion.py b/tryton/common/domain_inversion.py
index 03b1f30..3da2b04 100644
--- a/tryton/common/domain_inversion.py
+++ b/tryton/common/domain_inversion.py
@@ -146,6 +146,8 @@ def simplify(domain):
         return domain
     elif domain in ('OR', 'AND'):
         return domain
+    elif domain in (['OR'], ['AND']):
+        return []
     elif (isinstance(domain, list) and len(domain) == 1
         and not is_leaf(domain[0])):
         return simplify(domain[0])
@@ -413,6 +415,10 @@ def test_simplify():
     assert simplify(domain) == ['OR', [['x', '=', 3]], [['y', '=', 5]]]
     domain = ['OR', ['x', '=', 3], ['AND', ['y', '=', 5]]]
     assert simplify(domain) == ['OR', ['x', '=', 3], [['y', '=', 5]]]
+    domain = ['AND']
+    assert simplify(domain) == []
+    domain = ['OR']
+    assert simplify(domain) == []
 
 
 def test_merge():
diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py
index 9205e8f..f0e759b 100644
--- a/tryton/gui/window/view_form/view/list.py
+++ b/tryton/gui/window/view_form/view/list.py
@@ -432,7 +432,9 @@ class ViewList(ParserView):
             if not col.get_visible() or not col.name:
                 continue
             cell = self.widget_tree.cells[col.name]
-            values.append('"' + str(cell.get_textual_value(record)) + '"')
+            values.append('"'
+                + str(cell.get_textual_value(record)).replace('"', '""')
+                + '"')
         data.append('\t'.join(values))
         return
 
diff --git a/tryton/version.py b/tryton/version.py
index 39f36a7..ab4a797 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 = "2.6.11"
+VERSION = "2.6.12"
 LICENSE = "GPL-3"
 WEBSITE = "http://www.tryton.org/"
-- 
tryton-client



More information about the tryton-debian-vcs mailing list