minor fix

This commit is contained in:
Nabin Hait 2014-08-06 17:29:07 +05:30
parent fd90571d49
commit 7881df2138

View File

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