diff --git a/erpnext/hr/doctype/process_payroll/process_payroll.py b/erpnext/hr/doctype/process_payroll/process_payroll.py index 22e9fbb1deb..561ddfcf09a 100644 --- a/erpnext/hr/doctype/process_payroll/process_payroll.py +++ b/erpnext/hr/doctype/process_payroll/process_payroll.py @@ -298,7 +298,9 @@ class ProcessPayroll(Document): }) account_amt_list.append({ "account": loan_accounts.interest_income_account, - "credit_in_account_currency": loan_amounts.total_interest_amount + "credit_in_account_currency": loan_amounts.total_interest_amount, + "cost_center": self.cost_center, + "project": self.project }) adjustment_amt = adjustment_amt-(loan_amounts.total_loan_repayment)