Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Wrong quantity when using "Multiple Rows" to add item

As discussed in this issue https://github.com/frappe/erpnext/issues/23880, the quantity remains 1 if we use the multiple rows button to add items to child table in Quotation.

Please guide if there is a solution for this bug.

I tried adding

frappe.ui.form.on('Quotation', {
    refresh: function(frm) {
        frm.get_field("items").grid.set_multiple_add("item_code", "qty");
    }
});

but no use.