[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:
parent
e63646130e
commit
68a1b4244f
|
@ -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])]
|
||||
|
|
Loading…
Reference in New Issue