commit | fe913c9969b821d78dc1d247eed562d8d51f17d2 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Tue Aug 16 15:43:50 2016 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Tue Aug 16 15:43:50 2016 +0530 |
tree | da16a4971dd0e27a7ff01fcb37af5f860b592ba0 | |
parent | 18d616293541d50faab547101051c91fa96d7c8b [diff] |
[Fix] lwp salary structure
diff --git a/erpnext/hr/doctype/salary_structure/salary_structure.py b/erpnext/hr/doctype/salary_structure/salary_structure.py index 836e524..c2f95af 100644 --- a/erpnext/hr/doctype/salary_structure/salary_structure.py +++ b/erpnext/hr/doctype/salary_structure/salary_structure.py
@@ -99,7 +99,7 @@ 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 })