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)