fix promotion
This commit is contained in:
parent
fa1d98476f
commit
b86064f0b5
|
|
@ -85,7 +85,7 @@ class HrPayrollRaise(models.Model):
|
|||
self.next_raise_date = ndate
|
||||
|
||||
if self.percentage_bonus==True:
|
||||
self.new_salary= (self.current_salary*self.percentage_raises)/100+self.current_salary
|
||||
self.new_salary= round((self.current_salary*self.percentage_raises)/100+self.current_salary,2)
|
||||
|
||||
if self.employee_appraisal:
|
||||
self.percentage_raises = self.employee_appraisal.level_achieved_percentage*self.scale_id.Percentage_increase
|
||||
|
|
|
|||
Loading…
Reference in New Issue