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 })