Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 a more meaningful error. Fixes #1037
- Loading branch information