From fe913c9969b821d78dc1d247eed562d8d51f17d2 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Tue, 16 Aug 2016 15:43:50 +0530 Subject: [PATCH] [Fix] lwp salary structure --- erpnext/hr/doctype/salary_structure/salary_structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.py b/erpnext/hr/doctype/salary_structure/salary_structure.py index 836e524015..c2f95af904 100644 --- a/erpnext/hr/doctype/salary_structure/salary_structure.py +++ b/erpnext/hr/doctype/salary_structure/salary_structure.py @@ -99,7 +99,7 @@ def make_salary_slip(source_name, target_doc=None): for d in source.get(key): target.append(key, { 'amount': d.amount, - 'default_amount': d.default_amount, + 'default_amount': d.amount, 'depends_on_lwp' : d.depends_on_lwp, 'salary_component' : d.salary_component })