中国本土应用
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

25 lignes
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