[FIX] website_quote: images of acquirer should be dynamic

Echoes commit c255342e8f

Before this commit, the image that was fetched for the quotes was the static one, preventing it to be changed

Now, the image is dynamically fetched

OPW 769701

closes #19417
This commit is contained in:
Lucas Perais (lpe)
2017-09-14 09:53:39 +02:00
parent cd26062a38
commit c5b9bdcf9f
@@ -340,9 +340,7 @@
<li t-foreach="acquirers or []" t-as="acquirer">
<label t-if="buttons.get(acquirer.id)">
<input t-att-value="acquirer.id" type="radio" name="acquirer" t-att-checked="acquirers[0] == acquirer"/>
<img class="media-object" style="width: 60px; display: inline-block;"
t-att-title="acquirer.name"
t-att-src="'/payment_%s/static/src/img/%s_icon.png' % (acquirer.provider, acquirer.provider)"/>
<span itemprop="image" t-field="acquirer.image_small" t-options="{'widget': 'image', 'style':'max-width: 60px; display: inline-block;'}"/>
<span t-field="acquirer.name"/>
</label>
</li>