[tryton-debian-vcs] tryton-modules-product branch upstream-2.6 updated. upstream/2.6.1-1-g43f4f28

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 11 18:48:38 UTC 2013


The following commit has been merged in the upstream-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product.git;a=commitdiff;h=upstream/2.6.1-1-g43f4f28

commit 43f4f2844fafc1d6ff9f4ebc28074d6237c7a9e3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 11 19:23:44 2013 +0100

    Adding upstream version 2.6.2.

diff --git a/CHANGELOG b/CHANGELOG
index e4a6969..27ee925 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.2 - 2013-12-04
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.1 - 2013-10-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 640092f..ffa7df2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_product
-Version: 2.6.1
+Version: 2.6.2
 Summary: Tryton module with products
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index 80acdb6..bb8ef66 100644
--- a/product.py
+++ b/product.py
@@ -133,11 +133,12 @@ class Product(ModelSQL, ModelView):
 
     @classmethod
     def search_rec_name(cls, name, clause):
-        ids = map(int, cls.search([('code',) + clause[1:]], order=[]))
+        ids = map(int, cls.search([('code',) + tuple(clause[1:])], order=[]))
         if ids:
-            ids += map(int, cls.search([('name',) + clause[1:]], order=[]))
+            ids += map(int,
+                cls.search([('name',) + tuple(clause[1:])], order=[]))
             return [('id', 'in', ids)]
-        return [('name',) + clause[1:]]
+        return [('name',) + tuple(clause[1:])]
 
     @classmethod
     def delete(cls, products):
diff --git a/tryton.cfg b/tryton.cfg
index a50a272..d634e35 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.6.1
+version=2.6.2
 depends:
     ir
     res
diff --git a/trytond_product.egg-info/PKG-INFO b/trytond_product.egg-info/PKG-INFO
index 97b6fce..e026528 100644
--- a/trytond_product.egg-info/PKG-INFO
+++ b/trytond_product.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-product
-Version: 2.6.1
+Version: 2.6.2
 Summary: Tryton module with products
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-product



More information about the tryton-debian-vcs mailing list