PDF Download File Name Showing “pdf.pdf” Instead of Invoice Number & Customer Name After Update

Hello Everyone,

Previously, whenever we downloaded PDFs from Sales Invoice, Quotation, Sales Order, Delivery Note, etc., the downloaded file name was automatically generated like:

“Tax Invoice - 8077 - TWIN ADVERTISING LLC.pdf”

But after updating Manager.io, all downloaded files are now saving only as:

“pdf.pdf”

We are using a custom Liquid theme.

Can anyone please guide how to restore the previous dynamic PDF file naming format in the latest Manager.io version?

Requirement:
Document Type - Invoice Number - Customer Name.pdf

Example:
Tax Invoice - 8077 - TWIN ADVERTISING LLC.pdf

If possible, kindly share the exact working code as well.

Thank you.

Filename will be whatever is in your <title></title> block. Previously filename has been hard-coded into the program. The latest version makes it possible to customize.

If you are using custom theme, then you need to customize it too. Or just create new custom theme from scratch using javascript (not liquid markup)

I’m not an IT guy, I tried it using ChatGPT and Gemini. Could you please send me a preset code with only my requirements? as I am unable to solve it.