Browse Source

[MIG] web_widget_digitized_signature: Migration to 12.0

pull/1318/head
Mayank Gosai 5 years ago
parent
commit
3478aca972
  1. 2
      web_widget_digitized_signature/README.rst
  2. 1
      web_widget_digitized_signature/__init__.py
  3. 4
      web_widget_digitized_signature/__manifest__.py
  4. 1
      web_widget_digitized_signature/models/__init__.py
  5. 1
      web_widget_digitized_signature/models/mail_thread.py
  6. 1
      web_widget_digitized_signature/models/res_users.py
  7. 1
      web_widget_digitized_signature/readme/CONTRIBUTORS.rst
  8. 2
      web_widget_digitized_signature/static/description/index.html
  9. 4
      web_widget_digitized_signature/static/src/js/digital_sign.js

2
web_widget_digitized_signature/README.rst

@ -71,6 +71,7 @@ Authors
* Serpent Consulting Services Pvt. Ltd.
* Agile Business Group
* Tecnativa
* Open Source Integrators
Contributors
~~~~~~~~~~~~
@ -79,6 +80,7 @@ Contributors
* Tecnativa <https://www.tecnativa.com>:
* Vicent Cubells
* Mayank Gosai <mgosai@opensourceintegrators.com>
Maintainers
~~~~~~~~~~~

1
web_widget_digitized_signature/__init__.py

@ -1,5 +1,6 @@
# Copyright 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright 2011-2015 Serpent Consulting Services Pvt. Ltd.
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models

4
web_widget_digitized_signature/__manifest__.py

@ -1,14 +1,16 @@
# Copyright 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright 2011-2015 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Web Widget Digitized Signature",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"author": "Serpent Consulting Services Pvt. Ltd., "
"Agile Business Group, "
"Tecnativa, "
"Open Source Integrators,"
"Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/web',
"license": "AGPL-3",

1
web_widget_digitized_signature/models/__init__.py

@ -1,5 +1,6 @@
# Copyright 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright 2011-2015 Serpent Consulting Services Pvt. Ltd.
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import mail_thread

1
web_widget_digitized_signature/models/mail_thread.py

@ -1,6 +1,7 @@
# Copyright 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright 2011-2015 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import base64

1
web_widget_digitized_signature/models/res_users.py

@ -1,6 +1,7 @@
# Copyright 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright 2011-2015 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models

1
web_widget_digitized_signature/readme/CONTRIBUTORS.rst

@ -2,3 +2,4 @@
* Tecnativa <https://www.tecnativa.com>:
* Vicent Cubells
* Mayank Gosai <mgosai@opensourceintegrators.com>

2
web_widget_digitized_signature/static/description/index.html

@ -420,6 +420,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Serpent Consulting Services Pvt. Ltd.</li>
<li>Agile Business Group</li>
<li>Tecnativa</li>
<li>Open Source Integrators</li>
</ul>
</div>
<div class="section" id="contributors">
@ -429,6 +430,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Tecnativa &lt;<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>&gt;:<ul>
<li>Vicent Cubells</li>
</ul>
<li>Mayank Gosai &lt;<a class="reference external" href="mailto:mgosai&#64;opensourceintegrators.com">mgosai&#64;opensourceintegrators.com</a>&gt;</li>
</li>
</ul>
</div>

4
web_widget_digitized_signature/static/src/js/digital_sign.js

@ -22,8 +22,8 @@ odoo.define('web_widget_digitized_signature.web_digital_sign', function(require)
placeholder: "/web/static/src/img/placeholder.png",
init: function() {
this._super.apply(this, arguments);
this.$('> img').remove();
this.$('.signature > canvas').remove();
// this.$('> img').remove();
// this.$('.signature > canvas').remove();
this.sign_options = {
'decor-color': '#D1D0CE',
'color': '#000',

Loading…
Cancel
Save