mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
Merge pull request #17875 from rohitwaghchaure/salary_slip_update_component_row_error
fix: Not able to save salary slip
This commit is contained in:
@@ -443,7 +443,7 @@ class SalarySlip(TransactionBase):
|
|||||||
else:
|
else:
|
||||||
component_row.additional_amount = amount
|
component_row.additional_amount = amount
|
||||||
|
|
||||||
if not overwrite:
|
if not overwrite and component_row.default_amount:
|
||||||
amount += component_row.default_amount
|
amount += component_row.default_amount
|
||||||
|
|
||||||
component_row.amount = amount
|
component_row.amount = amount
|
||||||
|
|||||||
Reference in New Issue
Block a user