Community mailing list archives

Re: Digital signature(Custom Widget): How to save image(defined in widget template ) in database?

Serpent Consulting Services Pvt. Ltd., Jay Vora
- 07/17/2015 10:53:31

The widget has been already contributed for community.

You can take a look at The video is there and source is mentioned too.


On Fri, Jul 17, 2015 at 8:18 PM, mihir shah <> wrote:
Dear community,

ello Everyone,

We're going to implement the digital signature by using custom widgets in odoo 8. We've captured sign into the image . But, the problem we're facing right now is how to save the image of signature (defined in widget template .xml) in database.  

<img id="imgb64" style="width:300px;height:150px"> </img> 

In view of this module, widget is defined as binary field..

<field name="signature_image" widget="signature"/> 

Is it possible to link up this image to database from .js file of widget?

Thanks in advance.

Mihir Shah

*Please Don't print this email unless you really need to "Save Earth and Save Environment" 

Post to:

The Splendid journey of 2 years in Numbers
Jay Vora,
Managing Director,
<img src="" style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Serpent Consulting Services Pvt. Ltd.
Web :
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog :