콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7007 화면

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

아바타
취소
베스트 답변

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.

 

Best,

Harsh Dhaduk

아바타
취소
작성자

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

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

작성자

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

관련 게시물 답글 화면 활동
0
3월 15
4911
1
9월 23
7344
0
9월 23
29
0
9월 22
2897
1
5월 17
5337