minor fix

This commit is contained in:
wilson gomez 2021-08-13 08:43:23 -05:00
parent 1f647318a2
commit 2789e98faf

View file

@ -515,7 +515,7 @@ class Payroll(metaclass=PoolMeta):
next_date += relativedelta(months=1)
res = sum(average_days_monthly)/len(average_days_monthly)
return res
return Decimal(str(round(res, 2)))
def update_wage_no_salary(self):
PayrollLine = Pool().get('staff.payroll.line')