Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6296 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ

Did you solve this problem now?

Tác giả

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. :)

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

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

Tác giả

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

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

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
10
thg 7 16
9411
0
thg 3 15
5269
2
thg 5 25
3148
0
thg 9 21
2846
1
thg 5 18
3942