16 lines
365 B
Python
16 lines
365 B
Python
# -*- coding: utf-8 -*-
|
|
import random
|
|
from odoo import models, fields, api
|
|
from odoo.http import request
|
|
from odoo.exceptions import AccessDenied
|
|
|
|
import logging
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
class ResUsers(models.Model):
|
|
_inherit = 'res.users'
|
|
|
|
we_employee_id = fields.Char(string=u'企业微信账号', related='employee_id.we_id', default="")
|