[FIX] website_slides: fix search_method for sitemap
871b969 change the way to convert domain to sql.
Before it, provide a single value instead of a list/tuple works luckily.
This commit is contained in:
@@ -133,7 +133,7 @@ class Channel(models.Model):
|
||||
"""
|
||||
op = operator == "=" and "inselect" or "not inselect"
|
||||
# don't use param named because orm will add other param (test_active, ...)
|
||||
return [('id', op, (req, (self._uid)))]
|
||||
return [('id', op, (req, (self._uid, )))]
|
||||
|
||||
@api.one
|
||||
@api.depends('visibility', 'group_ids', 'upload_group_ids')
|
||||
|
||||
Reference in New Issue
Block a user