How create quick entry form ERPNext?

image
Is it enough for it? Can I use my javascript code inside quick entry form?

It is enough it will automatically create a quick entry form.

It doesn’t work. Which reasons can be of it? I press on New button and after that redirect to full edit page. frappe.new_doc("Doctype_name") redirect to full_page too

You have to enable the checkbox for field which you want to add in Quick Entry form.

image

Already done.
image
The previous result. Is it important, that I have only 4 fields of it?