refactor: add payment ledger to ignore link

This commit is contained in:
ruthra kumar
2026-07-02 15:08:04 +05:30
parent 38da3fc76e
commit 6a4c5b6062

View File

@@ -91,7 +91,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):