Merge pull request #40973 from ruthra-kumar/fix_link_error_on_dunning_cancellation

fix: Link Validation Error on Dunning cancellation
This commit is contained in:
ruthra kumar
2024-04-12 10:26:37 +05:30
committed by GitHub

View File

@@ -146,6 +146,10 @@ class Dunning(AccountsController):
)
row.dunning_level = len(past_dunnings) + 1
def on_cancel(self):
super().on_cancel()
self.ignore_linked_doctypes = ["GL Entry"]
def resolve_dunning(doc, state):
"""