Odoo8 - Custom pdf name when printing
I've found this OCA module:
https://www.odoo.com/apps/modules/8.0/report_custom_filename/
But it does not work and only break the reports.
After installation I get "404: Page not found!" insted of report preview.
How do I change report name without using this module?
신고된 질문입니다
1
회신
5466
화면
Hi,
add below line in your report tab,
print_report_name = "(object.name+'.pdf')"
eg:
<report
id = "report_custom"
string = "Print pdf"
model = "model_name"
report_type = "qweb-pdf"
file = "module_name.report_custom"
name = "module_name.report_custom"
paperformat = "module_name.paperformat_a4"
print_report_name = "(object.name+'.pdf')"
/>
Thanks
Aswini iWesabe
Tried that and didn't work.
There is no field called "print_report_name ".
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
5월 20
|
8189 | ||
|
|
1
10월 17
|
4324 | ||
|
|
0
7월 16
|
5100 | ||
|
|
1
6월 16
|
5344 | ||
|
|
3
5월 16
|
5446 |