I have translated Odoo email templates from English to Spanish, Italian and French but I need to send the attached invoice in Spanish always, no matter the language.
How can I do that?
I have tried:
- specifying
<field name="lang">es_ES</field>
but it translates the email template too. - forcing
<t t-raw="translate_doc(doc_id, doc_model, 'es_ES', 'wms_report.report_document')"/>
but it throws an error because param has to be an attribute of object.