summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorolt@tinyerp.com <>2010-10-29 13:49:00 +0200
committerolt@tinyerp.com <>2010-10-29 13:49:00 +0200
commit8e808fa651c4aa8b64bf99205f62463b26e9dfd5 (patch)
tree08d37daab757a78a8bb16f8dca73f9139f4fdd31 /addons
parentfac99cdf1eea43357edc81802240f84391ef41d0 (diff)
[FIX] project_gtd: fixed unicodedecode problem
bzr revid: olt@tinyerp.com-20101029114900-8e32ahtxf77zl6rf
Diffstat (limited to 'addons')
-rw-r--r--addons/project_gtd/project_gtd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_gtd/project_gtd.py b/addons/project_gtd/project_gtd.py
index bac2f621f37..8a3aa3133f1 100644
--- a/addons/project_gtd/project_gtd.py
+++ b/addons/project_gtd/project_gtd.py
@@ -123,7 +123,7 @@ class project_task(osv.osv):
</group>
</search> '''
if search_extended:
- res['arch'] = res['arch'].replace('</search>',search_extended)
+ res['arch'] = unicode(res['arch'], 'utf8').replace('</search>', search_extended)
attrs_sel = self.pool.get('project.gtd.context').name_search(cr, uid, '', [], context=context)
context_id_info = self.pool.get('project.task').fields_get(cr, uid, ['context_id'])
context_id_info['context_id']['selection'] = attrs_sel