Hello guys.. I have tried using 'attachment' field to give name for pdf file with Qweb XML. but it do not work. I have seen an example from account invoice : attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')". When I generate the invoice to pdf, it is still using 'account.report_invoice.pdf' for pdf file name, where it came from 'name' or 'report_name' of report object field.
Thank u guys for your best help..
Idem for me! Did you solve this problem?
@Pascal Temblay: Yeah I have solve this problem with create my own report module. If you look at report/controller/main.py, u will find that name of file always reportname.pdf (report.report_name).