mirror of https://github.com/OCA/web.git
[FIX] module name in digital_sign.js
parent
72ec9e3f59
commit
05198a26c9
|
@ -6,7 +6,7 @@
|
||||||
Web Digital Signature for users
|
Web Digital Signature for users
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
This module adds a signature field (using ``web_widget_digital_signature``) to user form.
|
This module adds a signature field (using ``web_widget_digitized_signature``) to user form.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
|
@ -15,7 +15,7 @@ To use this module, you need to add ``widget="signature"`` to your binary field
|
||||||
You can specifify signature dimensions like the following:
|
You can specifify signature dimensions like the following:
|
||||||
``<field name="signature_image" widget="signature" width="400" height="100"/>``
|
``<field name="signature_image" widget="signature" width="400" height="100"/>``
|
||||||
|
|
||||||
See ``web_widget_digital_signature_user`` and ``web_widget_digital_signature_sale_order`` modules as examples.
|
See ``web_widget_digital_signature_user`` and ``sale_order_widget_digitized_signature`` modules as examples.
|
||||||
|
|
||||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
:alt: Try me on Runbot
|
:alt: Try me on Runbot
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
openerp.web_widget_digital_signature = function(instance) {
|
openerp.web_widget_digitized_signature = function(instance) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var _t = instance.web._t;
|
var _t = instance.web._t;
|
||||||
var QWeb = instance.web.qweb;
|
var QWeb = instance.web.qweb;
|
||||||
|
|
Loading…
Reference in New Issue