spree/spree — pull request #3655 by lareb (2013-08-29 05:47:05+00:00)
Title: Update products_controller.rb

Getting exception in stock_movements, if product is deleted by API.

Steps
1. Delete a product from API
2. Go to /admin/stock_locations
3. click on Stock Movements

I fixed this issue in my commit :).