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

Merged

Conversation

Projects
None yet
2 participants
@surajshetty3416
Copy link
Collaborator

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/app.py", line 61, in application
    response = frappe.handler.handle()
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/handler.py", line 21, in handle
    data = execute_cmd(cmd)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/handler.py", line 56, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/__init__.py", line 1030, in call
    return fn(*args, **newargs)
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/client.py", line 130, in set_value
    child = doc.getone({"doctype": doctype, "name": name})
  File "/home/frappe/benches/bench-2019-04-05/apps/frappe/frappe/model/base_document.py", 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.
Details
Semantic Pull Request ready to be squashed
Details
Travis CI - Pull Request Build Passed
Details
coverage/coveralls Coverage increased (+0.002%) to 52.111%
Details
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.