Display of Item name in the link fields

Hi @kiranshegde,

Please apply the client script for that.

Here I share the full code so please add it to the client script.

frappe.form.link_formatters['Item'] = function(value, doc) {
    if(doc.item_code && doc.item_name !== value) {
        return doc.item_name;
    } else {
        return value;
    }
};

Before:

After


Reference: More detail for check the documentation with the script.

I hope this helps.

Thank You!

8 Likes