I'm using Odoo 17 and I added a custom button on the project form view that displays wizard view to recap some informations and then export them inside a PDF report. Everything works fine except one thing : I can't change the name of the PDF.
When I don't generate the report through the native print button instead, in the project model, the field works fine. But through a custom button, it doesn't, it keeps using the field .
Any idea about how to change report file name through wizard?
Thanks a lot
Here is my code :
My Custom PDF report.custom_module.my_report qweb-pdf custom_module.my_report custom_module.my_report 'the name of the file' report /