ERPNext V14 missing Loans module

Hello friends.

Today is Jul 3rd 2023

My newest installment of V14 now doesn’t have Loans Management module. I was shocked because some of my other instances of ERPNext have Loans Management module and they work perfectly.

I have tried to reinstall Frappe and Erpnext but the Loans Management module is still missing.

Is it deprecated? Or is it a standalone app now? Any help please. Thank you so much!

UPDATE: Loans is now a standalone app with codename lending.

Hi @Shan_Ruan,

Loan Management Module is under the erpnext app for version 14.

Please check it.

Please also search in Module Def and check, whether the module is available or not.

If available then check the workspace of Loan Management is available or not.

Thank You!

1 Like

Thanks bro I know what you are talking about. The latest erpnext update has removed Loan as a module. It is a standalone app now. You must install it like this:

bench get-app lending
bench install-app lending

Hi @Shan_Ruan,

I know, For Loan Management, develop branch and the upcoming version (Version-15) have separate installs. but you mentioned

Then I will share the step according to version-14.

Thank You!

1 Like

I think it is on the master branch now bro. But thank you very much for providing detailed steps.

@ncp i dont have the loan doctype in my v14
Installing lending…
Updating payroll setup for loans
An error occurred while installing lending: Could not find DocType: Loan
Traceback (most recent call last):
File “apps/frappe/frappe/commands/site.py”, line 462, in install_app
_install_app(app, verbose=context.verbose, force=force)
File “apps/frappe/frappe/installer.py”, line 309, in install_app
frappe.get_attr(fn)(name)
File “apps/hrms/hrms/setup.py”, line 310, in after_app_install
create_custom_fields(SALARY_SLIP_LOAN_FIELDS)
File “apps/frappe/frappe/custom/doctype/custom_field/custom_field.py”, line 32 6, in create_custom_fields
create_custom_field(doctype, df, ignore_validate=ignore_validate)
File “apps/frappe/frappe/custom/doctype/custom_field/custom_field.py”, line 29 2, in create_custom_field
custom_field.insert()
File “apps/frappe/frappe/model/document.py”, line 276, in insert
self._validate_links()
File “apps/frappe/frappe/model/document.py”, line 905, in validate_links
frappe.throw(
(“Could not find {0}”).format(msg), frappe.LinkValidationError )
File “apps/frappe/frappe/init.py”, line 570, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 542, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 491, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find DocType: Loan

this is what shows when i try to insrtall the lending app

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.