Odoo Help


"Save as Attachment Prefix" for printed invoices PDF names ignored ?

on 11/26/14, 4:35 AM 2,076 views

I'm using ODOO 8 and when I "print" an invoice, the name of the PDF file is always account.report_invoice.pdf.

But when I look into Settings / technical / actions / reports / Invoices the "Save as Attachment Prefix" is set to (object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf').

So the name of the pdf file should be dynamic, right ? Am I looking at the wrong place ? Is this a bug ?

Note : for the email attachement pdf file, everythings works fine. 

Did you solve this problem now?

Pascal Tremblay
on 12/4/14, 11:06 AM

No, as it is a "known" bug, I'm hopping on a fix. When I have time I will be looking for automated file renaming software as the generated PDF file has the correct Invoice number as tag... But I really hope that in the mean time, the bug will be solved. :)

on 12/4/14, 11:11 AM



| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 11/26/14, 7:21 AM

It is a js bug, present in v7 and v8... 

maybe this will help you : http://stackoverflow.com/questions/14434846/openerp-custom-report-filename
had simmilar problem, but don't realy remeber how did i fix it... 

That's a relief to read... I was going crazy. Any known workaround ?

on 11/26/14, 8:01 AM

check my edit on answer... maybe it will help a bit

on 11/26/14, 10:02 AM

No it didn't. But thank you anyway for the concern. I can't believe I'm the only one bugged with that matter...

on 11/26/14, 10:18 AM

Somebody has solved with this solution? I could try it.

Pascal Tremblay
on 12/4/14, 11:14 AM

i have the same bug and this helps are to OpenERP7 or

Juan Muñoz
on 7/29/15, 5:52 AM

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

2 follower(s)


Asked: 11/26/14, 4:35 AM
Seen: 2076 times
Last updated: 3/16/15, 8:10 AM