Skip to Content
Menu
This question has been flagged
515 Views

Hello,

In developer mode I added a line in the invoice template (external_layout_boxed) to display the amount of the invoice in words. This is :


Invoice stopped at the sum of < span t-esc= " o.currency_id.with_context(lang='fr_FR').amount_to_text(o.amount_total)"


Everything works fine except in the case of a credit where I have in text the total amount and not the amount due.

I think it's the o.amount_total tag that is at fault but I can't find the tag for the amount due.


Please help me if anyone knows the tag to use

Avatar
Discard