[FIX] website_sale_delivery: display of the delivery price

In the shop, the price of the delivery must be displayed in the currency linked
to the pricelist of the sale order.

opw:647799
This commit is contained in:
Goffin Simon 2015-08-28 12:59:30 +02:00
parent b79d492ec4
commit 283bffd054
1 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<td class="text-right">
<span t-field="website_sale_order.amount_delivery" t-field-options='{
"widget": "monetary",
"display_currency": "website.pricelist_id.currency_id"
"display_currency": "website_sale_order.currency_id"
}'/>
</td>
</tr>
@ -37,7 +37,8 @@
<span class="badge" t-field="delivery.price"
t-field-options='{
"widget": "monetary",
"display_currency": "website.pricelist_id.currency_id"
"from_currency": "website.currency_id",
"display_currency": "website_sale_order.currency_id"
}'/>
<div t-field="delivery.website_description" class="text-muted"/>
</label>