mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 20:18:27 +00:00
Cleanup dev
This commit is contained in:
@@ -14,7 +14,6 @@ class BankTransaction(Document):
|
||||
|
||||
def on_update_after_submit(self):
|
||||
allocated_amount = reduce(lambda x, y: flt(x) + flt(y), [x.allocated_amount for x in self.payment_entries])
|
||||
frappe.log_error(allocated_amount)
|
||||
|
||||
if allocated_amount:
|
||||
frappe.db.set_value(self.doctype, self.name, "allocated_amount", flt(allocated_amount))
|
||||
|
||||
Reference in New Issue
Block a user