DEV Community

Lawrence
Lawrence

Posted on

Issue with Currency Display in Odoo QWeb Report (Odoo 17)

I'm working on a QWeb report in Odoo 17, and I've encountered an issue with the currency symbol display.

When I use the following template in my QWeb report:

<odoo&gt
    <data>
        <template id="report_voucher">
            <t t-call="web.html_container">
                <t t-foreach="docs" t-as="o">
                    <!-- Report content here -->
                    <t t-esc="line.debit" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
                </t>

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay