Hi Guys I Need Help Here
If I Want To Convert Html Format To Pdf Using ReportLab Or Any Module And Show Pdf In Browser
How Can I Do It ?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Guys I Need Help Here
If I Want To Convert Html Format To Pdf Using ReportLab Or Any Module And Show Pdf In Browser
How Can I Do It ?
Thanks
Hi,
You can do it using pdfkit package with the following code.
import pdfkit
pdfkit.from_file(your path to the source file , destination path with pdf file name)
For example
pdfkit.from_file("user/downloads/filename.html","user/downloads/filename.pdf")
Regards
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
ago 23
|
1612 | ||
|
0
set 21
|
2274 | ||
|
1
mag 18
|
3444 | ||
|
2
gen 17
|
6618 | ||
|
0
ago 16
|
3814 |