Merge pull request #2028 from expsa/transacrion_transaltion

leave
This commit is contained in:
enagahh 2025-01-01 11:21:07 +02:00 committed by GitHub
commit 68f11ae1f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class Transaction(models.Model):
if record:
employee_records = self.env['employee.leave.line'].search([('leave_id', '=', record.id),
('unit_id', '=',
unit_id)]).employee_id.id
unit_id)],limit=1).employee_id.id
return employee_records