Hi,
after invoice report inheritance's the report aoutput still in english. but my customer language setting is in french. Below the code.
<template id="report_invoice_document_hotel" inherit_id='account.report_invoice_document'>
<div class='page' position="replace">
After </template>
i add another template for the translation.
<template id="report_invoice_hotel" inherit_id="account.report_invoice">
<t t-call="report.html_container" position="replace">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="hotel.report_invoice_document_hotel" t-lang="o.partner_id.lang"/>
</t>
</t>
</t>
</template>
I oblige to to add this second template because Odoo still load the parent template(account.report_invoice_document).
It is so urgent for me!
Thanks