Community mailing list archives
Re: Digital signature(Custom Widget): How to save image(defined in widget template ) in database?by
Mihir,The widget has been already contributed for community.You can take a look at http://www.serpentcs.com/serpentcs-openerpodoo-digital-signature-widget. The video is there and source is mentioned too.Thanks.On Fri, Jul 17, 2015 at 8:18 PM, mihir shah <email@example.com> wrote:Dear community,
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.--RegardsMihir Shah*Please Don't print this email unless you really need to "Save Earth and Save Environment"--The Splendid journey of 2 years in Numbers---
<img src="cid:firstname.lastname@example.org" 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 : http://www.serpentcs.com
Mobile : 91 - 9879354457Twitter: jaynvora
Blog : http://jayvora.blogspot.com