result = '' for item in instances: emp = env['hr.employee'].search([('person_id','=',item.person_id.id)]) result = emp.name'、' result = result[:-1]
外籍员工证件到期需要添加表格 表格体现:员工编号、员工姓名、证件到期日