diff options
| author | JKE-be <jke@odoo.com> | 2014-08-18 11:39:33 +0200 |
|---|---|---|
| committer | JKE-be <jke@odoo.com> | 2014-08-18 11:39:33 +0200 |
| commit | e55098263bd3339370acd027e479df29a28dfeb2 (patch) | |
| tree | 02769faa515ebe157be8d1e4f2d5def1b37c2470 /addons/website_customer/controllers | |
| parent | 9a84d55036bba1a8268934e3935c77c976f98ed4 (diff) | |
[FIX] website_customer: the extra / for url pager is not need in saas-4
Diffstat (limited to 'addons/website_customer/controllers')
| -rw-r--r-- | addons/website_customer/controllers/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_customer/controllers/main.py b/addons/website_customer/controllers/main.py index 2cb9be04abc..34d064f104a 100644 --- a/addons/website_customer/controllers/main.py +++ b/addons/website_customer/controllers/main.py @@ -59,9 +59,9 @@ class WebsiteCustomer(http.Controller): partner_count = partner_obj.search_count(cr, openerp.SUPERUSER_ID, domain, context=request.context) # pager - url = '/customers/' + url = '/customers' if country_id: - url += 'country/%s' % country_id + url += '/country/%s' % country_id pager = request.website.pager( url=url, total=partner_count, page=page, step=self._references_per_page, scope=7, url_args=post |
