Minor Fix

Item Code was becoming mandatory and hence were unable to save an item
code which is being generated.