data原始写入: <field name="image_1920" type="base64" file="hr/static/img/employee_al-image.jpg"/>
<field name="image_1920" eval="obj(ref('base.partner_admin')).image_1920" model="res.partner"/>
model中加入: 1、 if not employee_has_image: vals['image_1920'] = user.image_1920
2、
employee_id = fields.Many2one('hr.employee', 'Employee', compute="_compute_employee_id", search="_search_employee_id", compute_sudo=True) # hr.employee.public specific fields child_ids = fields.One2many('hr.employee.public', 'parent_id', string='Direct subordinates', read