[FIX] website_crm_partner_assign: buggy url
authorRichard Mathot <rim@openerp.com>
Tue, 3 Jun 2014 20:14:02 +0000 (22:14 +0200)
committerRichard Mathot <rim@openerp.com>
Tue, 3 Jun 2014 20:15:24 +0000 (22:15 +0200)
addons/website_crm_partner_assign/views/website_crm_partner_assign.xml

index ad50213..8db6970 100644 (file)
@@ -54,7 +54,7 @@
                     <li class="nav-header"><h3>Filter by Country</h3></li>
                     <t t-foreach="countries" t-as="country">
                         <li t-if="country['country_id']" t-att-class="country['active'] and 'active' or ''">
-                            <a t-attf-href="/partners#{ current_grade and '/grade/%s' % slug(current_grade) or ''}#{country['country_id'][0] and '/country/%s' % country['country_id'][0] or '' }#{ '?' + (search_path or '') + (country['country_id'][0] == 0 and 'country_all=True' or '')}">
+                            <a t-attf-href="/partners#{ current_grade and '/grade/%s' % slug(current_grade) or ''}#{country['country_id'][0] and '/country/%s' % country['country_id'][0] or '' }#{ '?' + (search_path or '')}">
                                 <span class="badge pull-right" t-esc="country['country_id_count'] or ''"/>
                                 <t t-esc="country['country_id'][1]"/>
                             </a>