Information about bug
ran this command after bench get-app hrms
bench --site [site] install-app hrms
Module
HR
Version
erpnext 14.x.x-develop develop (d370c60)
frappe 15.x.x-develop develop (91dce0b)
hrms 16.0.0-dev develop (8d6b5d9)
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
App erpnext already installed
Installing hrms...
Setting up Frappe HR...
Installation for Frappe HR app failed due to an error. Please try re-installing the app or report the issue on https://github.com/frappe/hrms/issues/new if not resolved.
An error occurred while installing hrms: Employee: Options must be a valid DocType for field Employment Type in row 24
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 468, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 322, in install_app
frappe.get_attr(after_install)()
File "apps/hrms/hrms/install.py", line 21, in after_install
raise e
File "apps/hrms/hrms/install.py", line 9, in after_install
setup()
File "apps/hrms/hrms/setup.py", line 15, in after_install
create_custom_fields(get_custom_fields())
File "apps/frappe/frappe/custom/doctype/custom_field/custom_field.py", line 327, 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 293, in create_custom_field
custom_field.insert()
File "apps/frappe/frappe/model/document.py", line 310, in insert
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1120, in run_post_save_methods
self.run_method("on_update")
File "apps/frappe/frappe/model/document.py", line 952, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 1318, in composer
return composed(self, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 1300, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 949, in fn
return method_object(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/custom/doctype/custom_field/custom_field.py", line 205, in on_update
validate_fields_for_doctype(self.dt)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 1189, in validate_fields_for_doctype
validate_fields(meta)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 1627, in validate_fields
check_link_table_options(meta.get("name"), d)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 1264, in check_link_table_options
frappe.throw(
File "apps/frappe/frappe/__init__.py", line 592, in throw
msgprint(
File "apps/frappe/frappe/__init__.py", line 564, in msgprint
_raise_exception()
File "apps/frappe/frappe/__init__.py", line 515, in _raise_exception
raise exc
frappe.core.doctype.doctype.doctype.WrongOptionsDoctypeLinkError: Employee: Options must be a valid DocType for field Employment Type in row 24
Code of Conduct
Information about bug
ran this command after bench get-app hrms
Module
HR
Version
erpnext 14.x.x-develop develop (d370c60)
frappe 15.x.x-develop develop (91dce0b)
hrms 16.0.0-dev develop (8d6b5d9)
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Code of Conduct