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: Remove unwanted parent and parenttype field from credit note print format #17274



None yet
2 participants
Copy link

commented Apr 18, 2019

Following error was occurring while saving the edited print format due to this...

request.js:321 Traceback (most recent call last):
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/", line 61, in application
    response = frappe.handler.handle()
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/", line 21, in handle
    data = execute_cmd(cmd)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/", line 56, in execute_cmd
    return, **frappe.form_dict)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/", line 1030, in call
    return fn(*args, **newargs)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/", line 130, in set_value
    child = doc.getone({"doctype": doctype, "name": name})
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/model/", line 119, in getone
    return self.get(key, filters=filters, limit=1)[0]
IndexError: list index out of range

@deepeshgarg007 deepeshgarg007 merged commit 22ad81f into frappe:hotfix Apr 18, 2019

5 checks passed

Codacy/PR Quality Review Up to standards. A positive pull request.
Semantic Pull Request ready to be squashed
Travis CI - Pull Request Build Passed
coverage/coveralls Coverage increased (+0.002%) to 52.111%
security/snyk - requirements.txt (frappe) No manifest changes detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.