Odoo Help


How to change the name of printed PDF

Pascal Tremblay
on 12/11/14, 6:17 AM 1,483 views

Hello there,

We are on Odoo v8.

We tried many things in last days to change the name of the printed PDF.

For example, still impossible to change these filenames for any other name : account.report_overdue.pdf or account.report_invoice.pdf

Do you still consider that it is a bug in v8 and the only solution is here http://stackoverflow.com/questions/14434846/openerp-custom-report-filename ????

Thanks for your idea

Harsh Dhaduk
On 12/11/14, 7:14 AM

Hi Pascal,

You can change PDF name but you have to do some customization in following file. but be careful you should customize file to create extra module and inherit that class.

In Addons have report module in report->controllers->main.py file is there line no 96 method name is report_download(). in that find "reportname" variable.

you can do any thing from there.



Harsh Dhaduk

So, would you say that this is a way to solve a bug in Odoo?

Pascal Tremblay
on 12/11/14, 7:16 AM

This is a way to change PDF report and it's not a bug in Odoo.

Harsh Dhaduk
on 12/11/14, 12:26 PM

I will come back later with an other question. Last one is not clear.

Pascal Tremblay
on 12/11/14, 12:28 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/11/14, 6:17 AM
Seen: 1483 times
Last updated: 3/16/15, 8:10 AM