콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5085 화면

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 customization tips will help you: https://goo.gl/8HgnCF

베스트 답변

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
1924
invoice print error 해결 완료
1
10월 21
3281
1
9월 19
3540
3
3월 24
8786
4
5월 24
12752