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

Hi, I'm trying to integrate this :https://github.com/williammalone/Simple-HTML5-Drawing-App into my odoo form view.

I can show the drawing tools on my form view (including JS and adding a <div> into my form view) but I can't use any click event related action.
It simply doesn't recognize my clicks.

Have I to edit the example javascript ?
If I try it without Odoo it works fine. My goal is to let user draw something and then save in a field of my model as a base64 image (and then print it in a report)

Thanks

Davide

아바타
취소
베스트 답변

The module\ Web Paint Widget is better for what you need

아바타
취소
베스트 답변

The module web_widget_digitized_signature does something similar.

Maybe you can use it or get ideas

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
5859
0
4월 23
4755
0
8월 20
3037
0
2월 18
3341
0
9월 17
4137