[minor] Ignore permission while updating profile from employee

This commit is contained in:
Nabin Hait 2013-10-25 17:19:05 +05:30 committed by Anand Doshi
parent a5bd3dd207
commit ed3dc56da4

View File

@ -100,7 +100,7 @@ class DocType:
except webnotes.DuplicateEntryError, e: except webnotes.DuplicateEntryError, e:
# already exists # already exists
pass pass
profile_wrapper.ignore_permissions = True
profile_wrapper.save() profile_wrapper.save()
def validate_date(self): def validate_date(self):