mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
minor fix
This commit is contained in:
parent
1b3e39c892
commit
dec0e8abf9
|
@ -519,7 +519,7 @@ class Payroll(metaclass=PoolMeta):
|
|||
continue
|
||||
start_date = self.start
|
||||
end_date = None
|
||||
if event.end_date:
|
||||
if event.end_datea and event.uom.simbol == 'd':
|
||||
if event.start_date > start_date:
|
||||
start_date = event.start_date
|
||||
end_date = self.end
|
||||
|
|
Loading…
Reference in a new issue