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
1f647318a2
commit
2789e98faf
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue