Explorar el Código

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

version-14
Makarand Bauskar hace 8 años
committed by GitHub
padre
commit
406155750d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/frappeclient.py

+ 1
- 1
frappe/frappeclient.py Ver fichero

@@ -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
})


Cargando…
Cancelar
Guardar