13 lines
357 B
Python
13 lines
357 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import api, fields, models
|
|
|
|
|
|
class WxSettings(models.Model):
|
|
_name = 'wxwork.settings'
|
|
_description = '企业微信设置'
|
|
|
|
wx_work_app = fields.Char(string='企业微信应用名称')
|
|
wx_work_corp_id = fields.Char(string='企业微信CorpID')
|
|
wx_work_secret = fields.Char(string='企业微信Secret')
|