Skip to content

Commit

Permalink
Merge pull request #2719 from frappe/mergify/bp/version-15-hotfix/pr-…
Browse files Browse the repository at this point in the history
…2716

fix: Lending app uninstall error (backport #2716)
  • Loading branch information
deepeshgarg007 authored Jan 28, 2025
2 parents f468dea + 8c8019a commit 5040dc1
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 5040dc1

Please sign in to comment.