minor fix
This commit is contained in:
parent
fd90571d49
commit
7881df2138
@ -64,7 +64,6 @@ class SalaryStructure(Document):
|
||||
|
||||
def validate_employee(self):
|
||||
old_employee = frappe.db.get_value("Salary Structure", self.name, "employee")
|
||||
print old_employee
|
||||
if old_employee and self.employee != old_employee:
|
||||
frappe.throw(_("Employee can not be changed"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user