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?This question has been flagged
1
Odpovědět
6578
Zobrazení
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
0
led 23
|
2956 | ||
|
invoice print error
Vyřešeno
|
|
1
říj 21
|
5131 | |
|
why the print button does not work
Vyřešeno
|
|
1
zář 19
|
5126 | |
|
|
3
bře 24
|
10614 | ||
|
|
1
bře 26
|
1573 |
This customization tips will help you: https://goo.gl/8HgnCF