Browse Source

[minor] fixed the delete method call in frappeclient (#3671)

version-14
Makarand Bauskar 8 years ago
committed by GitHub
parent
commit
406155750d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/frappeclient.py

+ 1
- 1
frappe/frappeclient.py View File

@@ -102,7 +102,7 @@ class FrappeClient(object):
:param doctype: `doctype` to be deleted
:param name: `name` of document to be deleted'''
return self.post_request({
"cmd": "frappe.model.delete_doc",
"cmd": "frappe.client.delete",
"doctype": doctype,
"name": name
})


Loading…
Cancel
Save