You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1008 B
26 lines
1008 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Inheriting invoice template to add interest rate on invoice document -->
|
|
<template id="report_invoice_document_inherit_interest"
|
|
inherit_id="account.report_invoice_document">
|
|
<xpath expr="//p[@name='payment_communication']" position="before">
|
|
<t t-if="o.interest_amount != 0">
|
|
<table border="0">
|
|
<tr>
|
|
<td>Interest Type :</td>
|
|
<td class="text-right">
|
|
<span t-field="o.interest_type"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Interest Ratio :</td>
|
|
<td class="text-right">
|
|
<span t-field="o.interest_percentage"/>
|
|
%
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</t>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|
|
|