fix: update status on manual allocation

This commit is contained in:
ruthra kumar 2024-01-09 15:35:42 +05:30
parent ec07b42ea2
commit d32a407e08

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: