commit | d5daf04499695844b8c1a96cfd6d95b9a172843e | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Fri Oct 25 17:19:05 2013 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Fri Oct 25 17:19:05 2013 +0530 |
tree | 25db20dbc7005fd88eb231817898de8cef010d40 | |
parent | bd071b95433fdc1132e98bdb15a4e1a115b510ff [diff] |
[minor] Ignore permission while updating profile from employee
diff --git a/hr/doctype/employee/employee.py b/hr/doctype/employee/employee.py index e28e02d..78cb905 100644 --- a/hr/doctype/employee/employee.py +++ b/hr/doctype/employee/employee.py
@@ -105,7 +105,7 @@ except webnotes.DuplicateEntryError, e: # already exists pass - + profile_wrapper.ignore_permissions = True profile_wrapper.save() def validate_date(self):