summaryrefslogtreecommitdiff
path: root/addons/website_customer/controllers/main.py
diff options
context:
space:
mode:
authoropenerp-sle <openerp-sle@openerp-sle.home>2014-01-29 16:08:38 +0100
committeropenerp-sle <openerp-sle@openerp-sle.home>2014-01-29 16:08:38 +0100
commitbe6b038fb7babf7be922969504a21d3759d08086 (patch)
tree62f22475bfcbe163edd01a872239099898fc8db7 /addons/website_customer/controllers/main.py
parent4183310021ddf593d2281c938d00cf9853a7ac0f (diff)
[FIX] website_customer: removed redundant template 'customer_contact', fixed the country-filtering and avoid showing 'false' when partner has not website_short_description
bzr revid: openerp-sle@openerp-sle.home-20140129150838-pj9hmexxl3sk89tp
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 e7e53378c51..9918b7336bd 100644
--- a/addons/website_customer/controllers/main.py
+++ b/addons/website_customer/controllers/main.py
@@ -33,7 +33,7 @@ class WebsiteCustomer(http.Controller):
('name', 'ilike', "%%%s%%" % post.get("search")),
('website_description', 'ilike', "%%%s%%" % post.get("search"))
]
- country_id = None
+
if country_id:
domain += [('country_id', '=', country_id)]