mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
Update salary_slip.py
This commit is contained in:
@@ -55,7 +55,7 @@ class SalarySlip(TransactionBase):
|
||||
for struct_row in self._salary_structure_doc.get(key):
|
||||
amount = self.eval_condition_and_formula(struct_row, data)
|
||||
if amount:
|
||||
self.update_component_row(struct_row, amount, key)
|
||||
self.update_component_row(struct_row, amount, key)
|
||||
|
||||
|
||||
def update_component_row(self, struct_row, amount, key):
|
||||
@@ -365,4 +365,4 @@ class SalarySlip(TransactionBase):
|
||||
timesheet.salary_slip = salary_slip
|
||||
timesheet.flags.ignore_validate_update_after_submit = True
|
||||
timesheet.set_status()
|
||||
timesheet.save()
|
||||
timesheet.save()
|
||||
|
||||
Reference in New Issue
Block a user