diff --git a/erpnext/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py b/erpnext/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py index 69fc5eb4917..21196c3e52d 100644 --- a/erpnext/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py +++ b/erpnext/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py @@ -30,11 +30,7 @@ class SalaryStructureAssignment(Document): if not self.taxable_earnings_till_date and not self.tax_deducted_till_date: frappe.msgprint( _( - """ - Not found any salary slip record(s) for the employee {0}.

- Please specify {1} and {2} (if any), - for the correct tax calculation in future salary slips. - """ + """Not found any salary slip record(s) for the employee {0}.

Please specify {1} and {2} (if any), for the correct tax calculation in future salary slips.""" ).format( self.employee, "" + _("Taxable Earnings Till Date") + "",