tangentlabs/django-oscar — pull request #1037 by izidormatusov (2013-12-02 10:33:06+00:00)
Title: Raise ValueError when product has no stockrecord

When adding product to basket, Oscar expects that strategy provides
stockrecord. If there is no stockrecord, strange errors are raise, e.g.
NoneType has no attributed id.

This patch provides more meaningful error.