[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:
Jeremy Kersten
2017-10-20 09:33:31 +02:00
parent 7d7f1c46a4
commit ba6c0aa93e
+1 -1
View File
@@ -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')