fix: Link Validation Error on Dunning cancellation

(cherry picked from commit 205fd9888c)
This commit is contained in:
ruthra kumar
2024-04-12 09:26:46 +05:30
committed by Mergify
parent ea8c57263b
commit 0053d57ec4

View File

@@ -139,6 +139,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):
"""