From 3478aca97272c8bf902b15ef0366ce8babb9ac90 Mon Sep 17 00:00:00 2001 From: Mayank Gosai Date: Tue, 2 Jul 2019 18:35:41 -0400 Subject: [PATCH] [MIG] web_widget_digitized_signature: Migration to 12.0 --- web_widget_digitized_signature/README.rst | 2 ++ web_widget_digitized_signature/__init__.py | 1 + web_widget_digitized_signature/__manifest__.py | 4 +++- web_widget_digitized_signature/models/__init__.py | 1 + web_widget_digitized_signature/models/mail_thread.py | 1 + web_widget_digitized_signature/models/res_users.py | 1 + web_widget_digitized_signature/readme/CONTRIBUTORS.rst | 1 + web_widget_digitized_signature/static/description/index.html | 2 ++ web_widget_digitized_signature/static/src/js/digital_sign.js | 4 ++-- 9 files changed, 14 insertions(+), 3 deletions(-) diff --git a/web_widget_digitized_signature/README.rst b/web_widget_digitized_signature/README.rst index aad67015..82725295 100644 --- a/web_widget_digitized_signature/README.rst +++ b/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 : * Vicent Cubells +* Mayank Gosai Maintainers ~~~~~~~~~~~ diff --git a/web_widget_digitized_signature/__init__.py b/web_widget_digitized_signature/__init__.py index 063c0251..ffb545e6 100644 --- a/web_widget_digitized_signature/__init__.py +++ b/web_widget_digitized_signature/__init__.py @@ -1,5 +1,6 @@ # Copyright 2004-2010 OpenERP SA () # 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 diff --git a/web_widget_digitized_signature/__manifest__.py b/web_widget_digitized_signature/__manifest__.py index 42927a8b..171ffdc4 100644 --- a/web_widget_digitized_signature/__manifest__.py +++ b/web_widget_digitized_signature/__manifest__.py @@ -1,14 +1,16 @@ # Copyright 2004-2010 OpenERP SA () # 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", diff --git a/web_widget_digitized_signature/models/__init__.py b/web_widget_digitized_signature/models/__init__.py index 68301ad2..a7f89dc4 100644 --- a/web_widget_digitized_signature/models/__init__.py +++ b/web_widget_digitized_signature/models/__init__.py @@ -1,5 +1,6 @@ # Copyright 2004-2010 OpenERP SA () # 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 diff --git a/web_widget_digitized_signature/models/mail_thread.py b/web_widget_digitized_signature/models/mail_thread.py index 5f4fa107..4af022e8 100644 --- a/web_widget_digitized_signature/models/mail_thread.py +++ b/web_widget_digitized_signature/models/mail_thread.py @@ -1,6 +1,7 @@ # Copyright 2004-2010 OpenERP SA () # 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 diff --git a/web_widget_digitized_signature/models/res_users.py b/web_widget_digitized_signature/models/res_users.py index e90efc99..20f7e05f 100644 --- a/web_widget_digitized_signature/models/res_users.py +++ b/web_widget_digitized_signature/models/res_users.py @@ -1,6 +1,7 @@ # Copyright 2004-2010 OpenERP SA () # 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 diff --git a/web_widget_digitized_signature/readme/CONTRIBUTORS.rst b/web_widget_digitized_signature/readme/CONTRIBUTORS.rst index 888312b9..ce63dc47 100644 --- a/web_widget_digitized_signature/readme/CONTRIBUTORS.rst +++ b/web_widget_digitized_signature/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * Tecnativa : * Vicent Cubells +* Mayank Gosai diff --git a/web_widget_digitized_signature/static/description/index.html b/web_widget_digitized_signature/static/description/index.html index f2b84dcc..aa4ed4f2 100644 --- a/web_widget_digitized_signature/static/description/index.html +++ b/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
  • Serpent Consulting Services Pvt. Ltd.
  • Agile Business Group
  • Tecnativa
  • +
  • Open Source Integrators
  • @@ -429,6 +430,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Tecnativa <https://www.tecnativa.com>:
    • Vicent Cubells
    +
  • Mayank Gosai <mgosai@opensourceintegrators.com>
  • diff --git a/web_widget_digitized_signature/static/src/js/digital_sign.js b/web_widget_digitized_signature/static/src/js/digital_sign.js index 842f89a8..63f23d9f 100644 --- a/web_widget_digitized_signature/static/src/js/digital_sign.js +++ b/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',