Community mailing list archives


Render a html field as qweb

Yannik Lieblinger
- 01/22/2016 05:34:24

Hi all,

I try to build an new module for our sales order and invoice reports.

The Module should add custom text with variables like to the end of the report. I have create an Class with an text field which should hold the custom qweb subtemplates.

If I call the field via t-raw all looks great but no variables getting rendered and they are printed as text only. I'm new to odoo, so I don't really understand the python print workflow. But is there a possibility to render my templates from the text field with variables which are available in the sale order document?

Regards Yannik