Merge pull request #25507 from AfshanKhan/fix-cancel-loan
fix: allow to cancel loan with cancelled repayment entry
This commit is contained in:
commit
3386d4948e
@ -44,6 +44,7 @@ class Loan(AccountsController):
|
||||
|
||||
def on_cancel(self):
|
||||
self.unlink_loan_security_pledge()
|
||||
self.ignore_linked_doctypes = ['GL Entry']
|
||||
|
||||
def set_missing_fields(self):
|
||||
if not self.company:
|
||||
|
Loading…
Reference in New Issue
Block a user