[FIX] purchase: po email template, the currency could be different than the pricelist...
authorDenis Ledoux <dle@openerp.com>
Fri, 23 May 2014 15:13:42 +0000 (17:13 +0200)
committerDenis Ledoux <dle@openerp.com>
Fri, 23 May 2014 15:13:42 +0000 (17:13 +0200)
addons/purchase/edi/purchase_order_action_data.xml

index d0bd572..ab2b652 100644 (file)
@@ -37,7 +37,7 @@
     <p style="border-left: 1px solid #8e0000; margin-left: 30px;">
        &nbsp;&nbsp;<strong>REFERENCES</strong><br />
        &nbsp;&nbsp;Order number: <strong>${object.name}</strong><br />
-       &nbsp;&nbsp;Order total: <strong>${object.amount_total} ${object.pricelist_id.currency_id.name}</strong><br />
+       &nbsp;&nbsp;Order total: <strong>${object.amount_total} ${object.currency_id.name}</strong><br />
        &nbsp;&nbsp;Order date: ${object.date_order}<br />
        % if object.origin:
        &nbsp;&nbsp;Order reference: ${object.origin}<br />