diff --git a/fetchmail_attach_from_folder/__manifest__.py b/fetchmail_attach_from_folder/__manifest__.py index 49b5373f6..27937f3ad 100644 --- a/fetchmail_attach_from_folder/__manifest__.py +++ b/fetchmail_attach_from_folder/__manifest__.py @@ -17,9 +17,4 @@ ], 'installable': True, 'auto_install': False, - 'external_dependencies': { - 'python': [ - 'simplejson', - ], - }, } diff --git a/fetchmail_attach_from_folder/models/fetchmail_server.py b/fetchmail_attach_from_folder/models/fetchmail_server.py index 8d20dc66f..701719766 100644 --- a/fetchmail_attach_from_folder/models/fetchmail_server.py +++ b/fetchmail_attach_from_folder/models/fetchmail_server.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import logging import re -import simplejson +import json from lxml import etree from odoo import _, api, fields, models @@ -111,7 +111,7 @@ class FetchmailServer(models.Model): nocopy=True) modifier_dict = modifiers[field.attrib['name']] combined_dict = dict(original_dict, **modifier_dict) - field.set('modifiers', simplejson.dumps(combined_dict)) + field.set('modifiers', json.dumps(combined_dict)) if (field.tag == 'field' and field.get('name') == 'match_algorithm'): field.set('help', docstr)