Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9603 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
5856
0
เม.ย. 23
4755
0
ส.ค. 20
3032
0
ก.พ. 18
3337
0
ก.ย. 17
4135