Frappe.new_doc is not working?

could you elaborate on what you are trying to do … code snippet ??


simple task creation…but new_doc is not working?

Have you tried setting the module to “Project” as Task is part of it ???