fix: update status on manual allocation

(cherry picked from commit d32a407e08609737fa0bc880d5ef737ebf2b3e4c)
This commit is contained in:
ruthra kumar 2024-01-09 15:35:42 +05:30 committed by Mergify
parent 0898ea5d92
commit a147e2954f

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: