[FIX] website_customer: the extra / for url pager is not need in saas-4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user