@ -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)",
@ -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.
@ -24,7 +24,6 @@ class Base(models.AbstractModel):
field_name, json_key = field_name.split(":")
return field_name, json_key, subparser
def jsonify(self, parser):
"""Convert the record according to the given parser.