[minor] Ignore permission while updating profile from employee

This commit is contained in:
Nabin Hait 2013-10-25 17:19:05 +05:30
parent bd071b9543
commit d5daf04499

View File

@ -105,7 +105,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):