Skip to content

Commit

Permalink
fix: Lending app uninstall error
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Jan 28, 2025
1 parent a0da808 commit 3bcb7b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ def remove_lending_docperms_from_ess():
if row.document_type in loan_docperms:
doc.user_doctypes.remove(row)

doc.flags.ignore_links = True
doc.save(ignore_permissions=True)


Expand Down

0 comments on commit 3bcb7b8

Please sign in to comment.