I have the same issue:
Currently we are using erpnext with our local server.
We tried sending quotations directly from ErpNext, but we have some
issues on what is showing when our customer received the quotations.
BELOW IS THE PRINT PREVIEW OF THE QUOTATION IN THE SYSTEM
Your solution for adding the line “host_name”: “http://yourerpnextsite” site_config.json worked! I was lacking the underscore in hostname. Working now.
Would just like to verify that is it normal to have the letterhead repeat in every page?
None of above works for me. I have the problem generating pdf and sending email with Leads and Order Sales. I installed two months ago, so it’s a recent version of ERPNext.
I have restarted the server several times after every option.
Hello
We have same issue , our server located in local lan , and when we send pdf email to customer they don’t have access to my server , so when i change host name problem not solved .
Hi neginy, this worked fine in my local installation.
No more problems with the letterhead / format. I can now see images properly. I still have this message you’re refering to, I’m looking for a way to delete the link to the “message”.
Hello
I find problem i use “hostname”: “http://192.168.42.51:7005”, i change to “host_name”: “http://192.168.42.51:7005”, and problem solve .
now looking how i can remove "View this in your browser" and “Leave this conversation:” ??
Because it’s linked to local ip and server and when we send email to customer it’s not work for them .
Regards
I have managed to migrate my site to a new server to try and resolve some ongoing problems i have with pdfs attached to emails however it is still not solved.
The problem now being, PDF does not show header or product images, formatting is wrong, all the text is justified left and there is an extra page. There are some posts by me and others about this or similar problems which do not seem to help me and some seem abondoned/outdated or not solved.
In order to keep this post short and sweet i am not going to list all the posts that i have researched regarding this issue, instead i would just like to mention that i have a freshly migrated system and have run the below commands;
bench --site site1.local set-config hostname “bil-1.mydomain.com”
and checked that “hostname”: “bil-1.mydomain.com” was in my site1.local/site_config.json
neither of which seem to fix my issue also the link in my email is wrong and still points to site1.local instead of bil-1.mydomain.com
NOTE: print format appears correctly and when i press the PDF button the PDF gets generated correctly, only the pdfs attached to emails are broken right now
I know i am replying to myself here, but i noticed all images in the pdf attached to the email are little squares … so probably a link issues same as the incorrect link at the bottom of the email
I obviously need this to work … as i am not sure where to begin where do i find the errors relating to this? where do i find the logs? anything need some hints … please !
That actually seems to have made things worse or maybe just different now i get no images even when try to generate a pdf when i use the pdf button. Which works fine with hostname
Also now that i am using host_name email pdf attachment still has no images, and the link is still wrong not site1.local anymore but kind of a weird mix of my email server and erpnext server twice like this