lint: fix spelling in comment
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
This commit is contained in:
parent
fed664a443
commit
66016ea76c
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ from frappe.model.base_document import get_controller
|
|||
@frappe.read_only()
|
||||
def get():
|
||||
args = get_form_params()
|
||||
# If virtual doctype get data from controller het_list method
|
||||
# If virtual doctype get data from controller get_list method
|
||||
if frappe.db.get_value("DocType", filters={"name": args.doctype}, fieldname="is_virtual"):
|
||||
controller = get_controller(args.doctype)
|
||||
data = compress(controller(args.doctype).get_list(args))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue