Update salary_slip.py

This commit is contained in:
Nabin Hait 2016-09-21 12:55:16 +05:30 committed by GitHub
parent e5057c8c35
commit 081eab147f

View File

@ -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):