fix: changed account types in controller method

This commit is contained in:
Gursheen Anand
2023-06-14 12:39:16 +05:30
parent 17341adf1c
commit ba4ab06ae3
3 changed files with 28 additions and 14 deletions

View File

@@ -1078,7 +1078,7 @@ class AccountsController(TransactionBase):
if lst:
from erpnext.accounts.utils import reconcile_against_document
reconcile_against_document(lst)
reconcile_against_document(lst, is_reconcile=True)
def on_cancel(self):
from erpnext.accounts.utils import unlink_ref_doc_from_payment_entries