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?Această întrebare a fost marcată
1
Răspunde
6575
Vizualizări
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
ian. 23
|
2954 | ||
|
invoice print error
Rezolvat
|
|
1
oct. 21
|
5131 | |
|
why the print button does not work
Rezolvat
|
|
1
sept. 19
|
5125 | |
|
|
3
mar. 24
|
10610 | ||
|
|
1
mar. 26
|
1572 |
This customization tips will help you: https://goo.gl/8HgnCF