I need to create a button in a form view that print a report, i’ve seen some options but needs to edit code
Is there any way to create this button editing only the view xml file?Diese Frage wurde gekennzeichnet
1
Antworten
6606
Ansichten
Hi,
You can add a new button to the view by the editing the view from the user interface using the developer mode. But to print the report on clicking the button you need to have a python function, see how to print report on button click: How To Print PDF Report In A Button Click Odoo
To Edit the view, activate the developer mode, click the debugged button on top right of screen and click Edit: View Form
Thanks
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
0
Jan. 23
|
2988 | ||
|
invoice print error
Gelöst
|
|
1
Okt. 21
|
5138 | |
|
|
1
Sept. 19
|
5161 | ||
|
|
3
März 24
|
10655 | ||
|
|
1
März 26
|
1583 |
This customization tips will help you: https://goo.gl/8HgnCF