# -*- coding: utf-8 -*- from odoo import api, fields, models, tools from odoo.exceptions import ValidationError, UserError class OfficialPartner(models.Model): _name = 'official.partner' _description = '发文单位管理' name = fields.Char(string="发文单位") note = fields.Char(string="说明")