minor fix

This commit is contained in:
wilson gomez 2022-02-07 16:42:56 -05:00
parent dec0e8abf9
commit 76e08673ed

View file

@ -519,7 +519,7 @@ class Payroll(metaclass=PoolMeta):
continue continue
start_date = self.start start_date = self.start
end_date = None end_date = None
if event.end_datea and event.uom.simbol == 'd': if event.end_date and event.uom.simbol == 'd':
if event.start_date > start_date: if event.start_date > start_date:
start_date = event.start_date start_date = event.start_date
end_date = self.end end_date = self.end