Odoo Help

0

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

By
Bjorn
on 11/26/14, 4:35 AM 1,815 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. :)

Bjorn
on 12/4/14, 11:11 AM
0
Bole
On 11/26/14, 7:21 AM

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

edit:
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 ?

Bjorn
on 11/26/14, 8:01 AM

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

Bole
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...

Bjorn
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.

Register

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)

Stats

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