[FIX] : WARNING trunk-medium openerp.osv.expression: The domain term '('blog_id', '=', [1])' should use the 'in' or 'not in' operator.

bzr revid: aja@tinyerp.com-20140328051020-gvvlytg2pgqet5nv
This commit is contained in:
ajay javiya (OpenERP) 2014-03-28 10:40:20 +05:30
parent e63646130e
commit 68a1b4244f
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class WebsiteBlog(http.Controller):
domain = []
if blog:
path_filter += "%s" % blog.id
domain += [("blog_id", "=", [blog.id])]
domain += [("blog_id", "in", [blog.id])]
if tag:
path_filter += 'tag/%s' % tag.id
domain += [("tag_ids", "in", [tag.id])]