diff --git a/base_jsonify/__manifest__.py b/base_jsonify/__manifest__.py index 237f851f3..ed567092d 100644 --- a/base_jsonify/__manifest__.py +++ b/base_jsonify/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Base Jsonify", "summary": "Base module that provide the jsonify method on all models", - "version": "12.0.1.1.0", + "version": "13.0.1.0.0", "category": "Uncategorized", "website": "https://github.com/OCA/server-tools", "author": "Akretion, Odoo Community Association (OCA)", diff --git a/base_jsonify/models/ir_export.py b/base_jsonify/models/ir_export.py index 6b740a205..7165bdf89 100644 --- a/base_jsonify/models/ir_export.py +++ b/base_jsonify/models/ir_export.py @@ -4,7 +4,7 @@ from collections import OrderedDict -from odoo import api, models +from odoo import models def update_dict(data, fields): @@ -47,7 +47,6 @@ def convert_dict(dict_parser): class IrExport(models.Model): _inherit = "ir.exports" - @api.multi def get_json_parser(self): """Creates a parser from ir.exports record and return it. diff --git a/base_jsonify/models/models.py b/base_jsonify/models/models.py index b2c07109b..260bf7678 100644 --- a/base_jsonify/models/models.py +++ b/base_jsonify/models/models.py @@ -24,7 +24,6 @@ class Base(models.AbstractModel): field_name, json_key = field_name.split(":") return field_name, json_key, subparser - @api.multi def jsonify(self, parser): """Convert the record according to the given parser.