Update failure from v10 to v11

Check this for clues frappe.exceptions.ValidationError: item_code field cannot be set as unique in tabItem, as there are non-unique existing values