Merge pull request #39253 from frappe/mergify/bp/version-15-hotfix/pr-39251

fix: update status on manual allocation (backport #39251)
This commit is contained in:
ruthra kumar 2024-01-09 16:36:35 +05:30 committed by GitHub
commit 4ad61fc3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ class BankTransaction(Document):
self.validate_duplicate_references()
self.allocate_payment_entries()
self.update_allocated_amount()
self.set_status()
def on_cancel(self):
for payment_entry in self.payment_entries: