In Pos do not update items in ui that belongs to item bundle

in Pos do not update items in ui that belongs to item bundle after make order and submit and update it only when make pos close entry and submit it
any info about that

You may try a custom script, something like:

frappe.ui.form.on("POS Invoice", {
    on_submit: function(frm) {
        frappe.call({
            method: "erpnext.stock.utils.update_item_bundle_stock",
            args: { item_code: frm.doc.items },
            callback: function(response) {
                if (response && response.message) {
                    // Re-fetch item bundles' stock data to update UI
                    frm.refresh_fields();
                }
            }
        });
    }
});

#RespectQuestion #EncourageNewUser