Trying to install my Custom App fails in ERPNext14

I have installed ERPNext14 on local server and it is working properly.

I have a Custom App that I have developed in ERPNext13.

When I try to install this app in ERPNext14 the installation process fails.

Here is the output

bench install-app mymfg --force

Installing mymfg...
Updating DocTypes for mymfg         : [========================================] 100%
Updating customizations for Item Barcode
Updating customizations for Item
An error occurred while installing mymfg: Item: Options must be a valid DocType for field HSN/SAC in row 7
Traceback (most recent call last):
  File "apps/frappe/frappe/commands/", line 413, in install_app
    _install_app(app, verbose=context.verbose, force=force)
  File "apps/frappe/frappe/", line 303, in install_app
  File "apps/frappe/frappe/modules/", line 111, in sync_customizations
    sync_customizations_for_doctype(data, folder)
  File "apps/frappe/frappe/modules/", line 168, in sync_customizations_for_doctype
  File "apps/frappe/frappe/core/doctype/doctype/", line 1036, in validate_fields_for_doctype
  File "apps/frappe/frappe/core/doctype/doctype/", line 1462, in validate_fields
    check_link_table_options(meta.get("name"), d)
  File "apps/frappe/frappe/core/doctype/doctype/", line 1114, in check_link_table_options
  File "apps/frappe/frappe/", line 523, in throw
  File "apps/frappe/frappe/", line 491, in msgprint
  File "apps/frappe/frappe/", line 443, in _raise_exception
    raise raise_exception(msg)
frappe.core.doctype.doctype.doctype.WrongOptionsDoctypeLinkError: Item: Options must be a valid DocType for field HSN/SAC in row 7

How to resolve this problem?


India Specific features have been moved to a separate app.

Therefore HSN/SAC Doctype is removed from ERPNext in version-14.


  1. You plan to use India Specific features → Install respective app.
  2. You do not plan to use India Specific features → Delete custom field gst_hsn_code from Item
  3. You need the field but not the app → edit custom field. set fieldtype to Data and remove GST HSN Code from options

Thanks for the update.

I am not able to find the separate app on git hub. I am referring to this url - Frappe · GitHub

Any ideas as to from where can I get this app for India specific features?


Ok. I found the relevant Git link for installing India Compliance.



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