diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py index 3284bafc5bf..6cec60076af 100644 --- a/addons/website_forum/controllers/main.py +++ b/addons/website_forum/controllers/main.py @@ -244,7 +244,8 @@ class website_forum(http.Controller): def tag_questions(self, forum, tag, page=1, **kwargs): cr, uid, context = request.cr, request.uid, request.context Post = request.registry['website.forum.post'] - obj_ids = Post.search(cr, uid, [('forum_id', '=', forum.id), ('id', 'in', 'tag.post_ids')], context=context) + post_ids = [que.id for que in tag.post_ids] + obj_ids = Post.search(cr, uid, [('forum_id', '=', forum.id), ('id', 'in', post_ids)], context=context) question_ids = Post.browse(cr, uid, obj_ids, context=context) pager = request.website.pager(url="/forum/%s/tag" % slug(forum), total=len(tag.post_ids), page=page, step=10, scope=10) diff --git a/addons/website_forum/data/forum_demo.xml b/addons/website_forum/data/forum_demo.xml index ba62b207e97..c578c89ad99 100644 --- a/addons/website_forum/data/forum_demo.xml +++ b/addons/website_forum/data/forum_demo.xml @@ -119,7 +119,7 @@ Thank you in advance 5 hi, how to import csv into customer database? Thanks - + @@ -129,7 +129,7 @@ Thank you in advance There are options to send the invoice,sales order, quotations etc by the email.But the issue is even after the button 'Send By Email' is clicked, the email is not received to the recipients .Those emails are stored in the Archives under the Messaging window.How to configure incoming and outgoing mails in openerp - + @@ -299,7 +299,7 @@ Thank you in advance - +