diff --git a/frappe/public/js/frappe/form/quick_entry.js b/frappe/public/js/frappe/form/quick_entry.js index 9aa0d0099e..824d25458c 100644 --- a/frappe/public/js/frappe/form/quick_entry.js +++ b/frappe/public/js/frappe/form/quick_entry.js @@ -52,12 +52,13 @@ frappe.ui.form.QuickEntryForm = Class.extend({ return false; } + this.validate_for_prompt_autoname(); + if (this.too_many_mandatory_fields() || this.has_child_table() || !this.mandatory.length) { return false; } - this.validate_for_prompt_autoname(); return true; },