[minor] Ignore permission while updating profile from employee
This commit is contained in:
parent
a5bd3dd207
commit
ed3dc56da4
@ -100,7 +100,7 @@ class DocType:
|
||||
except webnotes.DuplicateEntryError, e:
|
||||
# already exists
|
||||
pass
|
||||
|
||||
profile_wrapper.ignore_permissions = True
|
||||
profile_wrapper.save()
|
||||
|
||||
def validate_date(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user