添加功能
This commit is contained in:
@@ -964,6 +964,8 @@ class YuthonHrEmployee(models.Model):
|
||||
('end_date', '=', date_to),
|
||||
('text','=', '育儿假分配')
|
||||
], limit=1)
|
||||
if parenting_line_ids:
|
||||
reports_id.write({'parenting_line_ids': parenting_line_ids})
|
||||
|
||||
self.env['hr.leave.allocation'].create({
|
||||
'name': '育儿假分配',
|
||||
|
||||
Reference in New Issue
Block a user