@rmehta, discuss crashed the gif! Can you upload it in the blog and sent the link again?
@rmehta, I still being unable to see this! But https://www.dropbox.com/s/zrhzdbrysved3ob/quick-entry.gif?dl=0
Great feature, it will save lots of time.
definitely a time saver. How can the enduser determine which fields will be in the quick entry form??
@becht_robert mandatory and bold fields go to quick entry. It will automatically open if there are 7 or less fields.
Nice Feature!!
But what if we want to skip this feature for certain DocType, is there a way to disable this?
hi @rmehta,
Its a nice feature. appreciate it.
Is there any option i disable this feature for a doctype?
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.
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 Option to disable feature Quick Entry · Issue #1700 · frappe/frappe · GitHub
It gets disabled if you have more than 7 fields
But yeah maybe explicitly enable it / disable it.
Someone send a PR
I will try to create one Maybe you can guide a little. Is this the commit for the quick entry [enhancement] minimal new form to add new items by rmehta · Pull Request #1651 · frappe/frappe · GitHub ? I did not see a code that you disable if more that 7 fields? I would like to start there.
ok I found it 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
@rmehta Your wish is my command
I have made a PR add option to disable/enable quick entry feature by ccfiel · Pull Request #1702 · frappe/frappe · GitHub to enable/disable quick entry
Can you guide how to create custom script to work on quick entry?
How to make custom script to work on quick entry? We have to create another script? Do you have an example?