Browse Source

porting web_widget_digitized_signature to 10.0

pull/725/head
eLBati 7 years ago
parent
commit
1cdc14f9f9
  1. 2
      web_widget_digitized_signature/README.rst
  2. 2
      web_widget_digitized_signature/__manifest__.py
  3. 4
      web_widget_digitized_signature/models/mail_thread.py
  4. 2
      web_widget_digitized_signature/models/res_users.py
  5. 2
      web_widget_digitized_signature/tests/test_signature_tracking.py

2
web_widget_digitized_signature/README.rst

@ -30,7 +30,7 @@ Usage
.. 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
:target: https://runbot.odoo-community.org/runbot/162/9.0
:target: https://runbot.odoo-community.org/runbot/162/10.0
Bug Tracker Bug Tracker
=========== ===========

2
web_widget_digitized_signature/__openerp__.py → web_widget_digitized_signature/__manifest__.py

@ -6,7 +6,7 @@
{ {
"name": "Web Widget Digitized Signature", "name": "Web Widget Digitized Signature",
"version": "9.0.1.0.0",
"version": "10.0.0.1.0",
"author": "Serpent Consulting Services Pvt. Ltd., " "author": "Serpent Consulting Services Pvt. Ltd., "
"Agile Business Group, " "Agile Business Group, "
"Tecnativa, " "Tecnativa, "

4
web_widget_digitized_signature/models/mail_thread.py

@ -5,10 +5,10 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import base64 import base64
from openerp import _, models, fields
from odoo import _, models, fields
class MailThread(models.Model):
class MailThread(models.AbstractModel):
_inherit = "mail.thread" _inherit = "mail.thread"
def _track_signature(self, values, field): def _track_signature(self, values, field):

2
web_widget_digitized_signature/models/res_users.py

@ -4,7 +4,7 @@
# Copyright 2017 Tecnativa - Vicent Cubells # Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, fields, models
from odoo import api, fields, models
class ResUsers(models.Model): class ResUsers(models.Model):

2
web_widget_digitized_signature/tests/test_signature_tracking.py

@ -2,7 +2,7 @@
# Copyright 2017 Tecnativa - Pedro M. Baeza # Copyright 2017 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp.tests import common
from odoo.tests import common
class TestSignatureTracking(common.SavepointCase): class TestSignatureTracking(common.SavepointCase):

Loading…
Cancel
Save