from odoo import models, fields, api class YuthonParty(models.Model): _name = 'yuthon.party' _description = '党群' name = fields.Char(string='名称')