ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

[Upcoming] Quick Entry


#1

New documents will have a “Quick Entry” form if possible

Link: https://www.dropbox.com/s/zrhzdbrysved3ob/quick-entry.gif?dl=0


#2

I may be missing something, but I don’t see anything new on this screenshot?


#3

@cpurbaugh its an animated gif maybe you might have to download to see


#4

All I see is a screenshot, the animated gif is not playing. I also tried downloading it. Could you maybe upload it again?


#5

same here


#6

@rmehta, discuss crashed the gif! Can you upload it in the blog and sent the link again?


#7

@cpurbaugh @max_morais_dmm @becht_robert @creador fixed via dropbox link!


#8

@rmehta, I still being unable to see this! But https://www.dropbox.com/s/zrhzdbrysved3ob/quick-entry.gif?dl=0


#9

Great feature, it will save lots of time.


#10

definitely a time saver. How can the enduser determine which fields will be in the quick entry form??


#11

@becht_robert mandatory and bold fields go to quick entry. It will automatically open if there are 7 or less fields.


#12

Nice Feature!!

But what if we want to skip this feature for certain DocType, is there a way to disable this?


#13

Awesome feature @rmehta. On invoices, journal entries, GRN, it should save us tons of time …


#14

hi @rmehta,
Its a nice feature. appreciate it.

Is there any option i disable this feature for a doctype?


#15

same request @rmehta, any way to disable this?
Also, the print preview feature (document goes straight to print preview, and then it gives an option to edit) also needs a way to be disabled.


#16

Hello @rmehta I think we need to have option to disable this feature. Existing custom java scripts will not work to the quick entry. If you have a custom java scripts you have to create 2 scripts for each one for the quick entry and standard entry.

I have created an issue in github https://github.com/frappe/frappe/issues/1700


#17

It gets disabled if you have more than 7 fields

But yeah maybe explicitly enable it / disable it.

Someone send a PR :stuck_out_tongue:


#18

I will try to create one :slight_smile: Maybe you can guide a little. :slight_smile: Is this the commit for the quick entry https://github.com/frappe/frappe/pull/1651/commits/63d70a8eb3f44e633dd7d2712e9b662821b2323e ? I did not see a code that you disable if more that 7 fields? I would like to start there.


#19

ok I found it :slight_smile: frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/quick_entry.js

frappe.ui.form.quick_entry = function(doctype, success) {
	frappe.model.with_doctype(doctype, function() {
		var mandatory = $.map(frappe.get_meta(doctype).fields,
			function(d) { return (d.reqd || d.bold) ? d : null });

		var doc = frappe.model.get_new_doc(doctype);

		if(mandatory.length > 7) {
			// too many fields, show form
			frappe.set_route('Form', doctype, doc.name);
			return;
		}

I try to create a PR :slight_smile:


#20

@rmehta Your wish is my command :wink:

I have made a PR https://github.com/frappe/frappe/pull/1702 to enable/disable quick entry