I have created html field in the form view. Then user will add content in that field. The content will have some field variables of form view same as we declare in email template. Then user will print pdf report and that report should display values instead of the variables.
=======================================Example:
Hello ${object.partner_id.name},
PDF Report should contain:
Hello Marks,
=======================================How can I achieve this? Thanks in advance.
Hi please go through this link, this will tell you how to create a qweb report and how to print field values in the report.
https://www.odoo.com/documentation/8.0/reference/reports.html