mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
fix: allow to cancel loan with cancelled replayment entry (#25508)
This commit is contained in:
@@ -44,6 +44,7 @@ class Loan(AccountsController):
|
|||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
self.unlink_loan_security_pledge()
|
self.unlink_loan_security_pledge()
|
||||||
|
self.ignore_linked_doctypes = ['GL Entry']
|
||||||
|
|
||||||
def set_missing_fields(self):
|
def set_missing_fields(self):
|
||||||
if not self.company:
|
if not self.company:
|
||||||
|
|||||||
Reference in New Issue
Block a user