ducky.form.link_formatters[‘Item’] = function(value, doc) {
if (doc && value && doc.item_name && doc.item_name !== value && doc.item_code === value) {
return value + ': ’ + doc.item_name;
} else if (!value && doc.doctype && doc.item_name) {
// format blank value in child table
return doc.item_name;
} else {
// if value is blank in report view or item code and name are the same, return as is
return value;
}
}
I found this core code but it did not work for me , on submission I don’t want item_name with item_code like @mibrahim showing in image