make sure the options are actually created.

Fixes #4271
Fixes #4273

Conflicts:
	backend/app/assets/javascripts/spree/backend/stock_transfer.js.coffee