mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
fixes in outstanding amount calculation on cancellation of payment entry
This commit is contained in:
@@ -12,4 +12,4 @@ def execute():
|
||||
if flt(r[1]) != abs(flt(outstanding[0][0])):
|
||||
# print r, outstanding
|
||||
webnotes.conn.sql("update `tab%s` set outstanding_amount = %s where name = %s" %
|
||||
(dt, '%s', '%s'), (abs(flt(outstanding[0][0])), si[0]))
|
||||
(dt, '%s', '%s'), (abs(flt(outstanding[0][0])), r[0]))
|
||||
Reference in New Issue
Block a user