Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 29/04/2025
- Need: have the total in full words
- Task : https://www.odoo.com/odoo/project/5686/tasks/4756077
- Pastebin : https://pastebin.com/T1ErpL7J
- -->
- <xpath position="inside" expr="/t[@t-name='account.document_tax_totals_template']">
- <tr class="o_total" t-if="doc">
- <td>
- <strong>Total amount in words: </strong>
- </td>
- <td>
- <t t-set="amount_total_words" t-value="doc.currency_id.amount_to_text(doc.amount_total)"/>
- <strong t-esc="amount_total_words"/>
- </td>
- </tr>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement