Community mailing list archives

community@mail.odoo.com

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

by
mihir shah
- 07/17/2015 11:00:03
Sir i m trying to integrate signature pad of Wacom company , in odoo8.

Evert hing thing is completed and working fine sign is also coming in internet explorer properly, image is also generated but same image is not being saved in database.

On Fri, Jul 17, 2015 at 8:27 PM, Jay Vora <vora.jay@serpentcs.com> wrote:
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 <mihir9898@gmail.com> 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.


--
Regards 
Mihir Shah

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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
The Splendid journey of 2 years in Numbers
---
Regards,
Jay Vora,
Managing Director,
<img src="cid:part1.09000700.05080805@serpentcs.com" 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 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog : http://jayvora.blogspot.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Regards 
Mihir Shah

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