Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while installing app #102

Open
1 task done
hamzahabeeb opened this issue Oct 17, 2023 · 0 comments
Open
1 task done

error while installing app #102

hamzahabeeb opened this issue Oct 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hamzahabeeb
Copy link

Information about bug

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

Module

Loan Management

Version

v15
v14

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hamzahabeeb hamzahabeeb added the bug Something isn't working label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant