I\'m making reports using qWeb in Odoo 8. Those generated PDF files are saved with a \"default\" name. I would like to set a specific name to every generated file (not after
Easy Way to change report PDF file name in Odoo v10:
Just add this code where you write the report tag, and give same ID in both, report and new added record. Like the following:
'SALES_'+object.name+'.pdf'
It will print the report file as SALES_SO004.pdf
, where SO004
is your sale or quotation number.