Merge pull request !3050 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-06-03 09:35:20 +00:00
committed by Gitee
@@ -345,14 +345,15 @@ class YuthonHrEmployeeWizard(models.Model):
salary_group_id = self.env['yuthon.salary.group'].search([('name', '=', row[6].value)])
if employee_id:
employee_date = {
'job_id': job_id.id,
'entry_date': entry_date,
'open_start_time': open_start_time,
'interrupt_work_month': interrupt_work_month,
'salary_group_id': salary_group_id.id
}
employee_id.write(employee_date)
employee_id.contract_id.write({'structure_type_id': structure_type_id.id})
employee_id.contract_id.write({'structure_type_id': structure_type_id.id,
'salary_group_id': salary_group_id.id,
'job_id': job_id.id,
})