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

fix: Unable to open quotation #31546

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

deepeshgarg007
Copy link
Member

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 68, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1574, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/desk/form/load.py", line 73, in getdoctype
    docs = get_meta_bundle(doctype)
  File "apps/frappe/frappe/desk/form/load.py", line 84, in get_meta_bundle
    bundle = [frappe.desk.form.meta.get_meta(doctype)]
  File "apps/frappe/frappe/desk/form/meta.py", line 42, in get_meta
    meta = FormMeta(doctype)
  File "apps/frappe/frappe/desk/form/meta.py", line 56, in __init__
    self.load_assets()
  File "apps/frappe/frappe/desk/form/meta.py", line 66, in load_assets
    self.add_code()
  File "apps/frappe/frappe/desk/form/meta.py", line 103, in add_code
    self._add_code(_get_path(os.path.join("regional", system_country + ".js")), "__js")
  File "apps/frappe/frappe/desk/form/meta.py", line 124, in _add_code
    js = get_js(path)
  File "apps/frappe/frappe/desk/form/meta.py", line 287, in get_js
    return render_include(js)
  File "apps/frappe/frappe/model/utils/__init__.py", line 73, in render_include
    with open(frappe.get_app_path(app, app_path), encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'apps/erpnext/erpnext/regional/india/taxes.js'

@deepeshgarg007 deepeshgarg007 merged commit 0b5101d into frappe:develop Jul 7, 2022
ankush pushed a commit to ankush/erpnext that referenced this pull request Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant