How to Disable or Hide Submit button from Quick Entry?

I have a doctype and enabled Quick entry and the Mandatory Docfields are showing but when user saves the data the quick entry modal shows submit button and post that the modal closes .
I want user experience to save the data and modal gets auto closed rather than doing submit

what do you mean by auto submit every form has a submit button when the data is filled the user will submit the form

There would be Save button for the first time when user enter the data , In the current behaviour user is able to save and do submit as well . Attaching a screen recording for better understanding

1 Like

I am facing same issue. did you find any solution.

Yes do not give the user submit permission it will not auto submit the document

The user role has no permission for Submit,checked in role permission.
Still when the user clicks on save then the submit button is showing

(function () {
  // Patch once
  const patchQuickEntry = () => {
    const QE = frappe.ui && frappe.ui.form && frappe.ui.form.QuickEntryForm;
    if (!QE || QE.__beneficiary_quick_entry_patched) return;

    const orig_insert = QE.prototype.insert;
    QE.prototype.insert = function (...args) {
      const onlyForBeneficiary = this.doctype === "Your Doctype";
      const ret = orig_insert.apply(this, args);
      if (!onlyForBeneficiary) return ret;
      return Promise.resolve(ret).then((doc) => {
        try {
          // Hide/close the QE dialog after save
          this.dialog && this.dialog.hide && this.dialog.hide();
        } catch (e) {
          // no-op
        }
        return doc;
      });
    };

    QE.__beneficiary_quick_entry_patched = true;
  };

  // Ensure patch runs after Frappe UI is ready
  if (window.frappe) {
    if (frappe.after_ajax) {
      frappe.after_ajax(patchQuickEntry);
    } else {
      // fallback
      setTimeout(patchQuickEntry, 0);
    }
  }
})();

I have added this script in the js file of the doctype and this is able to take input from the user in quick entry dialog box and once clicked save this will close the dialog box without showing user the Submit button

i am getting the submit option even if the Is Submittable box is unchecked. is this some kind of a bug?