v13 port because otherwise backports will result in conflicts always
(cherry picked from commit c68c70f8bc) # Conflicts: # erpnext/loan_management/doctype/loan/loan.json # erpnext/patches.txt
c68c70f8bc