Custom PDF report based on measurement values in Odoo and an existing HTML template - render HTML to PDF without user interaction with a headless browser
Paid on delivery
We have an Odoo V16 Community instance installed on prem where we have one custom module that allows our users to buy and use tickets for a body composition monitor (a fancy scale, if you like). When the ticket is used, the measurement data is stored in Odoo.
We also have an HTML report template developed with some JS, that visualizes the results. The report is designed to fit on one A4 page.
What we would need next, is to generate the report in PDF whenever a new measurement is posted, and send it to the user via email. The main task here is to make sure we can map the measurement data to the HTML, and reliably create a one-page PDF report based on the HTML, storing it in attachments for the measurement/ticket in question. The process should happen automatically, without showing the HTML to the user or requiring them to interact with it to create the PDF.
We're a Finnish Odoo partner always looking for new resources, so this would be a great first task for us to gauge what it's like working together.
The deliverable here should be an Odoo module called gress_reporting, which includes the HTML template, mapping from Odoo to the template, and all the code required to make sure we can print the report into an email, store it in the measurement view, and send it to the customer. The code should be commented in a way that's easy to understand, and the readme should include all the details for installing and configuring the module, as well as a broad strokes description of how it works.
You should probably use a headless browser to generate the PDF, since we need to do it without user interaction (i.e. the software you are creating has to be able to take the measurement values from Odoo, push them into the HTML template, and render the PDF, then saving the PDF in Odoo).
Please only offer if you're familiar with using a headless browser to render HTML and turn it into a PDF without user interaction, as well as being somewhat familiar with Odoo.
The first deliverable in the task is a POC for generating the PDF. Once you have successfully rendered the PDF so that it looks like our design, we can move to mapping the values from Odoo to the template. The first deliverable has to be done within 3 days of accepting the task.
Here's what measurement data looks like in Odoo:
[login to view URL]
HTML report template attached.
Project ID: #37234341
About the project
32 freelancers are bidding on average €201 for this job
Hello. I read your requirement and also check attachment i will do that. Please come on chat we will discuss more about this. I will waiting your reply.
Hello. I read your requirement i understand please come on chat we will discuss more about this project i have more than 8 years working experience in Odoo development and customizetion let's do. Thank you.