中国本土应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
594B

  1. # -*- coding: utf-8 -*-
  2. import io
  3. import logging
  4. import os
  5. from odoo import api, fields, models, tools, _
  6. class Company(models.Model):
  7. _inherit = "res.company"
  8. # 基础
  9. abbreviated_name = fields.Char("Abbreviated Name", translate=True)
  10. is_wecom_organization = fields.Boolean("WeCom organization", default=False)
  11. corpid = fields.Char("Corp ID")
  12. # 企业的jsapi_ticket
  13. wecom_jsapi_ticket = fields.Char("Wecom JSAPI Ticket")
  14. wecom_jsapi_ticket_expiration_time = fields.Datetime(
  15. string="Expiration time of Wecom JSAPI ticket", copy=False
  16. )
上海开阖软件有限公司 沪ICP备12045867号-1