Hi everybody…
i got this problem in pdf format it wont show the logo’s that i put on print header… just boxes and the details are not in place…
Thank you!
Hi everybody…
i got this problem in pdf format it wont show the logo’s that i put on print header… just boxes and the details are not in place…
Thank you!
Works fine in my hosted test instance.
Which version? The images in question, are the attached as public or private?
Also, make sure that the server can access all resources (image and css), i.e. no firewall blocking it.
What helps to troubleshoot might be to temporarily add to frappe/frappe/utils/pdf.py after line 12
frappe.log_error(html)
In a production system, run bench migrate and bench restart. Then, create a pdf and observe the system error log, it should get the html code when generating the pdf. Write the content to a file (test.html) and copy it to the server, then on the server run
$ wkhtmltopdf test.html test.pdf
And observe error messages… Remove the debug line afterwards, otherwise each pdf creates an error trace…
Hope this helps.
the images attached is private… im on version ERPNext: v10.0.10 (master)
Frappe Framework: v10.0.11 (master)…
i solve it already thank you for the help guys your the best… i read some issues… i tried couple things i just put “host_name”: “http://www.domain.com:8000” in site_config.json. then i turned off my clients firewall… boom! it works… Thank you very much for helping me