Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5004 Widoki

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?
Awatar
Odrzuć

This customization tips will help you: https://goo.gl/8HgnCF

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 23
1903
1
paź 21
3216
1
wrz 19
3489
3
mar 24
8713
4
maj 24
12611