Merge pull request #6096 from rohitwaghchaure/minor_fix

[Fix] lwp salary structure
This commit is contained in:
Nabin Hait 2016-08-16 18:17:14 +05:30 committed by GitHub
commit 0c1be8df35

View File

@ -99,7 +99,7 @@ def make_salary_slip(source_name, target_doc=None):
for d in source.get(key): for d in source.get(key):
target.append(key, { target.append(key, {
'amount': d.amount, 'amount': d.amount,
'default_amount': d.default_amount, 'default_amount': d.amount,
'depends_on_lwp' : d.depends_on_lwp, 'depends_on_lwp' : d.depends_on_lwp,
'salary_component' : d.salary_component 'salary_component' : d.salary_component
}) })