Browse Source
splitting in web_widget_digital_signature and web_widget_digital_signature_user
splitting in web_widget_digital_signature and web_widget_digital_signature_user
adding READMEpull/267/head
eLBati
9 years ago
11 changed files with 191 additions and 28 deletions
-
57web_widget_digital_signature/README.rst
-
6web_widget_digital_signature/__init__.py
-
18web_widget_digital_signature/__openerp__.py
-
2web_widget_digital_signature/views/we_digital_sign_view.xml
-
58web_widget_digital_signature_user/README.rst
-
14web_widget_digital_signature_user/__init__.py
-
31web_widget_digital_signature_user/__openerp__.py
-
14web_widget_digital_signature_user/models/__init__.py
-
19web_widget_digital_signature_user/models/users.py
-
BINweb_widget_digital_signature_user/static/description/icon.png
-
0web_widget_digital_signature_user/views/users_view.xml
@ -0,0 +1,57 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
===================== |
|||
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. |
|||
|
|||
See ``web_widget_digital_signature_user`` and ``web_widget_digital_signature_sale_order`` modules as examples. |
|||
|
|||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|||
:alt: Try me on Runbot |
|||
:target: https://runbot.odoo-community.org/runbot/162/8.0 |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues |
|||
<https://github.com/OCA/web/issues>`_. In case of trouble, please |
|||
check there if your issue has already been reported. If you spotted it first, |
|||
help us smashing it by providing a detailed and welcomed `feedback |
|||
<https://github.com/OCA/ |
|||
web/issues/new?body=module:%20 |
|||
web_widget_digital_signature%0Aversion:%20 |
|||
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Contributors |
|||
------------ |
|||
|
|||
* Mohamed Magdy <moh.magdy40@gmail.com> |
|||
* Jay Vora <jay.vora@serpentcs.com> |
|||
* Lorenzo Battistini <lorenzo.battistini@agilebg.com> |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
.. image:: https://odoo-community.org/logo.png |
|||
:alt: Odoo Community Association |
|||
:target: https://odoo-community.org |
|||
|
|||
This module is maintained by the OCA. |
|||
|
|||
OCA, or the Odoo Community Association, is a nonprofit organization whose |
|||
mission is to support the collaborative development of Odoo features and |
|||
promote its widespread use. |
|||
|
|||
To contribute to this module, please visit https://odoo-community.org. |
@ -0,0 +1,58 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
=============================== |
|||
Web Digital Signature for users |
|||
=============================== |
|||
|
|||
This module adds a signature field (using ``web_widget_digital_signature``) to user form. |
|||
|
|||
Usage |
|||
===== |
|||
|
|||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|||
:alt: Try me on Runbot |
|||
:target: https://runbot.odoo-community.org/runbot/162/8.0 |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues |
|||
<https://github.com/OCA/web/issues>`_. In case of trouble, please |
|||
check there if your issue has already been reported. If you spotted it first, |
|||
help us smashing it by providing a detailed and welcomed `feedback |
|||
<https://github.com/OCA/ |
|||
web/issues/new?body=module:%20 |
|||
web_widget_digital_signature%0Aversion:%20 |
|||
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Images |
|||
------ |
|||
|
|||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. |
|||
|
|||
Contributors |
|||
------------ |
|||
|
|||
* Mohamed Magdy <moh.magdy40@gmail.com> |
|||
* Jay Vora <jay.vora@serpentcs.com> |
|||
* Lorenzo Battistini <lorenzo.battistini@agilebg.com> |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
.. image:: https://odoo-community.org/logo.png |
|||
:alt: Odoo Community Association |
|||
:target: https://odoo-community.org |
|||
|
|||
This module is maintained by the OCA. |
|||
|
|||
OCA, or the Odoo Community Association, is a nonprofit organization whose |
|||
mission is to support the collaborative development of Odoo features and |
|||
promote its widespread use. |
|||
|
|||
To contribute to this module, please visit https://odoo-community.org. |
@ -0,0 +1,14 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>) |
|||
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd. |
|||
# (<http://www.serpentcs.com>). |
|||
# Copyright 2015 Lorenzo Battistini - Agile Business Group |
|||
# |
|||
# About License, see __openerp__.py |
|||
# |
|||
############################################################################## |
|||
|
|||
from . import models |
@ -0,0 +1,14 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>) |
|||
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd. |
|||
# (<http://www.serpentcs.com>). |
|||
# Copyright 2015 Lorenzo Battistini - Agile Business Group |
|||
# |
|||
# About License, see __openerp__.py |
|||
# |
|||
############################################################################## |
|||
|
|||
from . import users |
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>) |
|||
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd. |
|||
# (<http://www.serpentcs.com>). |
|||
# |
|||
# About License, see __openerp__.py |
|||
# |
|||
############################################################################## |
|||
|
|||
from openerp import models, fields, api |
|||
|
|||
class Users(models.Model): |
|||
_name = 'res.users' |
|||
_inherit = 'res.users' |
|||
|
|||
signature_image= fields.Binary(string='Signature') |
After Width: 128 | Height: 128 | Size: 9.2 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue