[FIX] website_sale_delivery: incorrect delivery price

The price of the delivery is incorrectly converted to the currency of
the user in the payment template (next to "Total").

Instead, it should be in the currency of the sales order.

opw-682306
This commit is contained in:
Nicolas Martinelli
2016-08-02 13:07:32 +02:00
parent 353dfa22cb
commit 65142a6a45
@@ -9,8 +9,7 @@
<span class="col-xs-6 text-left text-muted">
<span t-field="website_sale_order.amount_delivery" style="white-space: nowrap;" t-field-options='{
"widget": "monetary",
"from_currency": "website_sale_order.currency_id",
"display_currency": "user_id.partner_id.property_product_pricelist.currency_id"
"display_currency": "website_sale_order.currency_id"
}'/>
</span>
</div>