commit
22fc3bc300
|
|
@ -1112,7 +1112,3 @@ class HrSalaryRuleAndLoansLines(models.Model):
|
|||
account_credit = rec.salary_rule_id.get_credit_account_id(emp_type)
|
||||
rec.account_credit_id = account_credit.id
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -657,7 +657,7 @@ class ReportTerminationPublic(models.AbstractModel):
|
|||
if type == 'all' or type == 'leave':
|
||||
if salary > 0:
|
||||
amount_per_day = salary / 30
|
||||
lave_price = emp.remaining_leaves * amount_per_day
|
||||
lave_price = leave_balance*amount_per_day
|
||||
if 'lave_price' not in data['total_sum']:
|
||||
data['total_sum']['lave_price'] = lave_price
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue