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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4994
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
1月 23
|
1903 | ||
|
1
10月 21
|
3211 | ||
|
1
9月 19
|
3482 | ||
|
3
3月 24
|
8704 | ||
|
4
5月 24
|
12606 |
This customization tips will help you: https://goo.gl/8HgnCF