Merge pull request #588 from acsone/10.0-credit_control_currency-cpi

[10.0][FIX] account_credit_control: add currency on summary report
This commit is contained in:
Pedro M. Baeza
2018-02-28 09:37:13 +01:00
committed by GitHub

View File

@@ -61,10 +61,10 @@
</td>
<td class="text-right">
<span t-field="l.amount_due"/>
<span t-field="l.amount_due" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
</td>
<td class="text-right">
<span t-field="l.balance_due"/>
<span t-field="l.balance_due" t-options='{"widget": "monetary", "display_currency": l.currency_id or l.company_id.currency_id}'/>
</td>
</tr>
</tbody>
@@ -78,7 +78,7 @@
<strong>Total Invoiced</strong>
</td>
<td class="text-right">
<span t-field="doc.total_invoiced" />
<span t-field="doc.total_invoiced" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
</td>
</tr>
<tr>
@@ -86,7 +86,7 @@
<strong>Total Due</strong>
</td>
<td class="text-right">
<span t-field="doc.total_due"/>
<span t-field="doc.total_due" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
</td>
</tr>
</table>