mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +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]))
|
||||
@@ -169,4 +169,5 @@ patch_list = [
|
||||
"patches.february_2013.update_company_in_leave_application",
|
||||
"execute:webnotes.conn.sql_ddl('alter table tabSeries change `name` `name` varchar(100)')",
|
||||
"execute:webnotes.conn.sql('update tabUserRole set parentfield=\"user_roles\" where parentfield=\"userroles\"')",
|
||||
"patches.february_2013.fix_outstanding"
|
||||
]
|
||||
Reference in New Issue
Block a user