Server Error on Loan Creation after version Update

I updated from Version 12 to 15 through patches and now i am facing this error while creating Loan. I added repay from salary field in Loan Doctype but still getting this error.
Any Help in This Regard will be Appreciated.
Regards,
Abdul Samad

Did you restore the database?
Or are you creating data afresh?

ERPNext removed the loan module into a new app in the later versions… Maybe try installing that app (Lending) as well?

I have installed the lending app