Odoo Help


This community 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.


Integrate html5 canvas/javascript into odoo form view

Davide Guastalli
on 8/28/16, 2:07 PM 153 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


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