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?Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Jan 23
|
1567 | ||
invoice print error
Diselesaikan
|
|
1
Okt 21
|
2672 | |
why the print button does not work
Diselesaikan
|
|
1
Sep 19
|
3205 | |
Odoo 13: Remove "View Quotation" button from e-mails
Diselesaikan
|
|
3
Mar 24
|
8320 | |
Odoo 13. Don't close a wizard when Click a button
Diselesaikan
|
|
4
Mei 24
|
11395 |
This customization tips will help you: https://goo.gl/8HgnCF