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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
3012
มุมมอง
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 ".
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
พ.ค. 20
|
6020 | ||
|
1
ต.ค. 17
|
2701 | ||
|
0
ก.ค. 16
|
3075 | ||
Error in odoo server ( version 8)
แก้ไขแล้ว
|
|
1
มิ.ย. 16
|
3436 | |
|
3
พ.ค. 16
|
3603 |