Invoice PDF attached, order confirmation pdf not

Hi!

I have a PDF template to create an invoice. When I press the “Send email”, the created PDF is automatically attached to the email. So easy!

However, when I create an order confirmation pdf to the order object, and click “send email”, I will have to browse for the file, an upload it, and then send the email. How can I automate it? I have tried to look for all the settings, but no success.

Any help would be appreciated…

After quite a lot of reading of the sources I figured this out. The file name must be the same as the object name, I had R12345-packinglist.pdf, it should have been R12345.pdf. Now the pdf is automatically attached.

1 Like