Community mailing list archives

Render a html field as qweb

Yannik Lieblinger
- 01/21/2016 15:09:05
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 and I don't know how to get it working with t-call.
. 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