mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Fix Holidays on the boundary between two pay periods by counting the whole leave in the first pay period.
This commit is contained in:
@@ -42,7 +42,7 @@ class HrPayslip(models.Model):
|
||||
('employee_id', '=', employee_id),
|
||||
('state', '=', 'validate'),
|
||||
('date_from', '>=', date_from),
|
||||
('date_to', '<=', date_to),
|
||||
('date_from', '<=', date_to),
|
||||
('payslip_status', '=', False),
|
||||
('type', '=', 'remove'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user