[tryton-debian-vcs] tryton-modules-product branch upstream-2.2 updated. upstream/2.2.3-1-gdda33e5

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Dec 12 12:57:42 UTC 2013


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

commit dda33e5d12379922a436db4b60ff8db07a106c6d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Dec 12 13:35:10 2013 +0100

    Adding upstream version 2.2.4.

diff --git a/CHANGELOG b/CHANGELOG
index c7722c4..70bebee 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.2.4 - 2013-12-04
+* Bug fixes (see mercurial logs for details)
+
 Version 2.2.3 - 2013-10-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 5b612a7..a79b47c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_product
-Version: 2.2.3
+Version: 2.2.4
 Summary: Define products, categories of product, units of measure, categories of units of measure.
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/__tryton__.py b/__tryton__.py
index 43d821e..d4182d7 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -10,7 +10,7 @@
     'name_fr_FR': 'Produit',
     'name_nl_NL': 'Producten',
     'name_ru_RU': 'ТМЦ',
-    'version': '2.2.3',
+    'version': '2.2.4',
     'author' : 'B2CK',
     'email': 'info at b2ck.com',
     'website': 'http://www.tryton.org/',
diff --git a/product.py b/product.py
index ee3eac2..831d5db 100644
--- a/product.py
+++ b/product.py
@@ -101,11 +101,11 @@ class Product(ModelSQL, ModelView):
         return res
 
     def search_rec_name(self, name, clause):
-        ids = self.search([('code',) + clause[1:]], order=[])
+        ids = self.search([('code',) + tuple(clause[1:])], order=[])
         if ids:
-            ids += self.search([('name',) + clause[1:]], order=[])
+            ids += self.search([('name',) + tuple(clause[1:])], order=[])
             return [('id', 'in', ids)]
-        return [('name',) + clause[1:]]
+        return [('name',) + tuple(clause[1:])]
 
     def delete(self, ids):
         template_obj = Pool().get('product.template')
diff --git a/trytond_product.egg-info/PKG-INFO b/trytond_product.egg-info/PKG-INFO
index 9aa4c1f..a50511f 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.2.3
+Version: 2.2.4
 Summary: Define products, categories of product, units of measure, categories of units of measure.
 Home-page: http://www.tryton.org/
 Author: B2CK
-- 
tryton-modules-product



More information about the tryton-debian-vcs mailing list