Advance payment not working

Anyone face or have any solution of that issue?
https://github.com/frappe/erpnext/issues/19455