Hello,
I want to have the item name the same as the item code. But the problem is when we write and take a pause in item code then it does not fetch the whole. So how both the values can be the same all the time when we update or edit it?
Thanks in advance
Hi @Foram,
Please apply custom/client script.
frappe.ui.form.on('Item', { item_code: function(frm) { frm.set_value("item_name", frm.doc.item_code); } });
Then reload and check it.
Thank You!
Thank you… It’s properly working.