中国本土应用
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.

23 lines
659B

  1. # -*- coding: utf-8 -*-
  2. from odoo import api, fields, models, tools, _
  3. class Company(models.Model):
  4. _inherit = "res.company"
  5. # material_agentid = fields.Char("Material Agent Id", default="0000000",)
  6. # material_secret = fields.Char(
  7. # "Material Secret", default="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  8. # )
  9. # 素材库
  10. material_app_id = fields.Many2one(
  11. "wecom.apps",
  12. string="Material Application",
  13. # required=True,
  14. # default=lambda self: self.env.company,
  15. # domain="[('company_id', '=', current_company_id)]",
  16. domain="[('company_id', '=', current_company_id)]",
  17. )
上海开阖软件有限公司 沪ICP备12045867号-1