minor fix

This commit is contained in:
wilson gomez 2022-02-07 16:36:54 -05:00
parent 1b3e39c892
commit dec0e8abf9

View file

@ -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