Skip to content

Commit

Permalink
fix: Ignore link on accrual reversal
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Oct 21, 2024
1 parent 5e4d41a commit fc02be4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ def reverse_loan_interest_accruals(

for accrual in accruals:
accrual_doc = frappe.get_doc("Loan Interest Accrual", accrual.name)
accrual_doc.flags.ignore_links = True
accrual_doc.cancel()

if is_npa:
Expand Down

0 comments on commit fc02be4

Please sign in to comment.