AttributeError: 'Loan' object has no attribute 'repay_from_salary'

what could be the cause of this error. AttributeError: ‘Loan’ object has no attribute ‘repay_from_salary’

Hey, were you able to find a working solution for this? I’m facing the same problem @Lewindev

Check if loan has field repay_from_salary

I was the same problem,
The seloution as below:
1- update hrms app
2-if the 1 not working you can install hrms as overwrite
3-if 2 not working delete the hrms app from apps and install then migrate your site
Thank you

@lewindev
Same problem am also faced…
then i tried below command, after it working fine…

bench execute hrms.setup.after_install

The Third way worked! Thanks!