-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0] web_widget_digital_signature #267
Conversation
…e, it fits Odoo v8.0
…ature_user adding README
@JayVora-SerpentCS hi, I'm proposing this your module to be added to OCA/web. I splitted it in 2 modules, a bit improved, and added another one: @hbrunn hi, about your comment on the old PR #115 (comment), could you show an example of code the would fix it? Thanks |
@eLBati in any case, the save function should end with
Otherwise, you deactivate whatever other modules do in this function. But as I wrote in the comment, I think you're better off not messing with the save function at all, but override Here the relevant docstring: https://github.com/OCA/OCB/blob/8.0/addons/web/static/src/js/view_form.js#L2036 |
@@ -0,0 +1,22 @@ | |||
# -*- coding: utf-8 -*- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use simple headers following OCA templates
https://github.com/OCA/maintainer-tools/blob/master/template/module/__openerp__.py#L3
Thanks for the contribution |
@hbrunn you can see my refactoring test at https://github.com/eLBati/web/blob/add_web_digital_sign_8_ref/web_widget_digital_signature/static/src/js/digital_sign.js At the moment, I can avoid breaking inheritance with 3639561 |
@elicoidal thanks, I made the changes |
…CA/sale-workflow#252 Rename module this module in web_widget_digitized_signature
@JayVora-SerpentCS @pedrobaeza hi, we renamed the modules and moved sale_order_widget_digitized_signature to OCA/sale-workflow#252 |
👍 |
1 similar comment
+1 |
|
||
===================== | ||
Web Digitized Signature | ||
===================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eLBati this ==
lines have to have same length as the text contained between them
Two things to fix in README files, but the rest LGTM 👍 |
d8a9400
to
221981e
Compare
@oihane fixed, thanks |
@eLBati if you remove the company logo, I think this is fit for merging: https://github.com/eLBati/web/blob/add_web_digital_sign_8/web_widget_digitized_signature/static/src/img/icon.png |
* http://jqueryui.com | ||
* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css | ||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=segoe%20ui%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=ece8da&bgTextureHeader=gloss_wave&bgImgOpacityHeader=100&borderColorHeader=d4ccb0&fcHeader=433f38&iconColorHeader=847e71&bgColorContent=f5f3e5&bgTextureContent=highlight_hard&bgImgOpacityContent=100&borderColorContent=dfd9c3&fcContent=312e25&iconColorContent=808080&bgColorDefault=459e00&bgTextureDefault=highlight_hard&bgImgOpacityDefault=15&borderColorDefault=327E04&fcDefault=ffffff&iconColorDefault=eeeeee&bgColorHover=67b021&bgTextureHover=highlight_soft&bgImgOpacityHover=25&borderColorHover=327E04&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=fafaf4&bgTextureActive=highlight_hard&bgImgOpacityActive=100&borderColorActive=d4ccb0&fcActive=459e00&iconColorActive=8DC262&bgColorHighlight=fcf0ba&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=e8e1b5&fcHighlight=363636&iconColorHighlight=8DC262&bgColorError=ffedad&bgTextureError=highlight_soft&bgImgOpacityError=95&borderColorError=e3a345&fcError=cd5c0a&iconColorError=cd0a0a&bgColorOverlay=2b2922&bgTextureOverlay=inset_soft&bgImgOpacityOverlay=15&opacityOverlay=90&bgColorShadow=cccccc&bgTextureShadow=highlight_hard&bgImgOpacityShadow=95&opacityShadow=20&thicknessShadow=12px&offsetTopShadow=-12px&offsetLeftShadow=-12px&cornerRadiusShadow=10px | ||
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this anything specific not covered by Odoo's version of jquery? https://github.com/OCA/OCB/blob/8.0/addons/web/static/lib/jquery.ui/css/smoothness/jquery-ui-1.9.1.custom.css
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't even see this file included, can it just go away?
Please remove company logo in web_widget_digitized_signature/static/src/img/icon.png |
221981e
to
411e10e
Compare
@pedrobaeza @hbrunn removed company logo and not used CSS |
👍 |
I think this can be merged |
[8.0] web_widget_digital_signature
Web Digital Signature
This module provides the functionality to store digital signature image for a record.
Usage
To use this module, you need to add
widget="signature"
to your binary field in your view.You can specifify signature dimensions like the following:
<field name="signature_image" widget="signature" width="400" height="100"/>
Web Digital Signature for users
This module adds a signature field (using
web_widget_digital_signature
) to user form.