Item Code (item_code) cannot be hidden and mandatory without any default value.
In a situation where one wants to hid or remove a mandatory field on ERPNext I get the above error. whats the solution to this and I dont want to introduce a default value?
Why not use the item’s code?
You could also hash its descriptions and use that as a code.
Or even some random number.
Or a monotonely increasing number (1, 2, …).
If you don’t care about the number, you can put anything.
If additionally it’s useful for cataloguing your items, even better.
Item master is core record within ERP and items are generally identified with code and names both at the same time. Item Code is primary key for any item you create within ERP.
ERPNext offers you to jump item code (incase you dont want them) by configuring stock setting as following;