from odoo import models, fields, api, exceptions, _ class YuthonAssessmentTasks(models.Model): _name = 'yuthon.assessment.tasks.wizard' _description = '考核任务详情弹窗' name = fields.Char(string='任务名称') assessment_ids = fields.One2many('yuthon.assessment.tasks.lines', 'tasks_wizard_id', string='考核任务明细') def pub_alert_people(self): pass