refactor: add payment ledger to ignore link

(cherry picked from commit 6a4c5b6062)
This commit is contained in:
ruthra kumar
2026-07-02 15:08:04 +05:30
committed by Mergify
parent 8bfba5fcf3
commit 4c8a51d54d

View File

@@ -90,7 +90,7 @@ class ExchangeRateRevaluation(Document):
)
def on_cancel(self):
self.ignore_linked_doctypes = "GL Entry"
self.ignore_linked_doctypes = ["GL Entry", "Payment Ledger Entry"]
@frappe.whitelist()
def check_journal_entry_condition(self):