summaryrefslogtreecommitdiff
path: root/addons/website_customer/controllers/main.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-01-19 17:15:57 +0100
committerMartin Trigaux <mat@odoo.com>2017-01-19 17:17:42 +0100
commit3c9937388d422846c52600e3a1a99a24a7d2e757 (patch)
tree802b82a0993fcde938f9bf9c6a622f332b81ef6c /addons/website_customer/controllers/main.py
parentb9db65aa7340742287dcf10cd0dd1d94266c4d9c (diff)
[FIX] website_customer: filter on correct field
The field tag_ids has been removed at df2bed3c but not changed in the controller
Diffstat (limited to 'addons/website_customer/controllers/main.py')
-rw-r--r--addons/website_customer/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_customer/controllers/main.py b/addons/website_customer/controllers/main.py
index d5a0dc1052c..a2cfe416458 100644
--- a/addons/website_customer/controllers/main.py
+++ b/addons/website_customer/controllers/main.py
@@ -42,7 +42,7 @@ class WebsiteCustomer(http.Controller):
if tag_id:
tag_id = unslug(tag_id)[1] or 0
- domain += [('tag_ids', 'in', tag_id)]
+ domain += [('website_tag_ids', 'in', tag_id)]
# group by country, based on customers found with the search(domain)
countries = partner_obj.read_group(