ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Custom naming for documents in pdf


#1

We have a option “pdf” when print any document. I want custom naming for each document. How do i achieve that.


#2

@Aniket_Shinde1,

PDF file is renamed with the document name, currently there is no option to have a custom name for pdf.

Thanks,
Makarand


#3

@makarand_b
I saw a file /home/frappe/frappe-bench/apps/frappe/frappe/utils/print_format.py that creates pdf files. I dont yet know python very well ,can u please help how i can achieve file name of format doc.name-doc.customer_name-transaction_date.pdf
Or if you can please help me understand the script I will manage to make changes.


#4

Custom naming of pdf docs and saving to custom folders is a very important feature and would be most welcome. Thank you.


#5

Hi, is this customization is in latest erp version?