models.py 252 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields
  3. '''
  4. Users class with token field for manage authentication
  5. '''
  6. class res_users(models.Model):
  7. _inherit = 'res.users'
  8. jwt_token = fields.Char(string = 'JWT Authentication Token');