from odoo import fields, models, api import requests import urllib.parse from odoo.exceptions import UserError import json class AppsStored(models.Model): _name = 'apps.stored' app_name = fields.Char(string='App Name') description = fields.Char(string='Description') class TokenStorage(models.Model): # _name = 'token.stored' _inherit = 'token.storage' app_id = fields.Many2one('apps.stored', string='App') messages = fields.Char(string='Messages') status = fields.Char(string='Status')