From e49d901907bf9f373de0cd22ce9795839a697940 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 20 Feb 2017 18:36:12 +0530 Subject: [PATCH] Update process_payroll.py --- erpnext/hr/doctype/process_payroll/process_payroll.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/process_payroll/process_payroll.py b/erpnext/hr/doctype/process_payroll/process_payroll.py index 22e9fbb1de..561ddfcf09 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)