[FIX] website_crm_partner_assign: better display of partners logos
authorRichard Mathot <rim@openerp.com>
Fri, 23 May 2014 09:58:25 +0000 (11:58 +0200)
committerRichard Mathot <rim@openerp.com>
Fri, 23 May 2014 09:58:25 +0000 (11:58 +0200)
addons/website_crm_partner_assign/views/website_crm_partner_assign.xml

index 6d5b937..0dd5616 100644 (file)
@@ -86,8 +86,8 @@
                         </t>
                         <div class="media">
                             <a class="pull-left" t-attf-href="/partners/#{slug(partner)}?#{current_grade and 'grade_id=%s&amp;' % current_grade.id}#{current_country and 'country_id=%s' % current_country.id}"
-                               t-field="partner.image_small"
-                               t-field-options='{"widget": "image", "class": "media-object"}'
+                               t-field="partner.image"
+                               t-field-options='{"widget": "image", "class": "media-object", "max_width": 128}'
                             ></a>
                             <div class="media-body o_partner_body" style="min-height: 64px;">
                                 <a class="media-heading" t-attf-href="/partners/#{slug(partner)}?#{current_grade and 'grade_id=%s&amp;' % current_grade.id}#{current_country and 'country_id=%s' % current_country.id}">