Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4993 Lượt xem

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?
Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 23
1903
invoice print error Đã xử lý
1
thg 10 21
3211
1
thg 9 19
3482
3
thg 3 24
8701
4
thg 5 24
12605