From 65dfd099471ce660a76b3674677ff04461107853 Mon Sep 17 00:00:00 2001 From: tundebabzy Date: Wed, 4 Oct 2017 13:21:44 +0100 Subject: [PATCH] fix wrong variable name (#11050) --- erpnext/hr/doctype/process_payroll/process_payroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/process_payroll/process_payroll.py b/erpnext/hr/doctype/process_payroll/process_payroll.py index 55c0cce59f..0e329a7c19 100644 --- a/erpnext/hr/doctype/process_payroll/process_payroll.py +++ b/erpnext/hr/doctype/process_payroll/process_payroll.py @@ -284,7 +284,7 @@ class ProcessPayroll(Document): }) # Deductions - for acc, amt in deductions.items(): + for acc, amount in deductions.items(): payable_amount -= flt(amount, precision) accounts.append({ "account": acc,