Change field name.

Change 'name' to 'code' on stock.