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:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
2990
Visualizzazioni
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 ".
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
mag 20
|
5987 | ||
|
1
ott 17
|
2694 | ||
|
0
lug 16
|
3045 | ||
|
1
giu 16
|
3421 | ||
|
3
mag 16
|
3579 |