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?Dette spørgsmål er blevet anmeldt
1
Svar
6598
Visninger
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
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
0
jan. 23
|
2977 | ||
|
invoice print error
Løst
|
|
1
okt. 21
|
5136 | |
|
|
1
sep. 19
|
5148 | ||
|
|
3
mar. 24
|
10637 | ||
|
|
1
mar. 26
|
1578 |
This customization tips will help you: https://goo.gl/8HgnCF