commit | ed3dc56da4b7b3b4342d5de6d35e520b1002023f | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Fri Oct 25 17:19:05 2013 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Mon Oct 28 19:59:44 2013 +0530 |
tree | b06bbdb87f8cdcca11e3c736f42a96e05ca7b05c | |
parent | a5bd3dd207d25d4f02389f04aa12a6cf08b46736 [diff] |
[minor] Ignore permission while updating profile from employee
diff --git a/hr/doctype/employee/employee.py b/hr/doctype/employee/employee.py index 56dfb35..84b2641 100644 --- a/hr/doctype/employee/employee.py +++ b/hr/doctype/employee/employee.py
@@ -100,7 +100,7 @@ except webnotes.DuplicateEntryError, e: # already exists pass - + profile_wrapper.ignore_permissions = True profile_wrapper.save() def validate_date(self):