Try ERPNext Buy Support Partners Foundation

Employee Loan - multiple disbursements - UnboundLocalError: local variable ‘status’

Hi,

Is it possible to make multiple part disbursements against an employee loan? Or even part payments through different modes - cash and bank for example.

I tried testing this and unless the amount matches the total loan, there is an error message:

Server Error

UnboundLocalError: local variable ‘status’ referenced before assignment

Any guidance please?

I am not aware to answer your question, but in any case please copy and paste the full traceback here.

Then folks can dig into the code to troubleshoot what’s up, and also this will show up on forum searches

thanks

1 Like

I hope this is how the traceback is pulled: