blob: ff7281c5a07b119257bd236cf5bd6d1138c3394c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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')
|