Odoo Help


Integrate html5 canvas/javascript into odoo form view

Davide Guastalli
on 8/28/16, 2:07 PM 1,134 views

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)



On 8/30/16, 5:03 AM

The module web_widget_digitized_signature does something similar.

Maybe you can use it or get ideas

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 8/28/16, 2:07 PM
Seen: 1134 times
Last updated: 8/30/16, 6:23 AM