fix: remove doc.reload
This commit is contained in:
parent
3ab0e8756f
commit
b3a05896ea
1 changed files with 0 additions and 1 deletions
|
|
@ -170,7 +170,6 @@ def execute_doc_method(doctype: str, name: str, method: str | None = None):
|
|||
|
||||
doc.check_permission(PERMISSION_MAP[frappe.request.method])
|
||||
result = doc.run_method(method, **frappe.form_dict)
|
||||
doc.reload()
|
||||
frappe.response.docs.append(doc.as_dict())
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue