Use correct var for displaying transactions in dashboard order detail
PBD: Enforce one stock record matching users partners
Pass user into StockRecordForm

This would be necessary if one wishes to limit the partner selection
available in the product dashboard. As that might be a common
requirement, we just pass it along.
Pre-select partner if appropriate

If the user is not a staff user and has only one partner associated, we
pre-select that.
Extract setting initial data into own function

That makes it possible to override.
Merge pull request #1002 from tangentlabs/issue/1002/pbd_stockrecords

Improved stock record handling for permission-based dashboard
Merge pull request #1041 from LUKKIEN/bugfixes

Correct template variable for payment transactions in the dashboard order detail page
Add oscar-sagepay as community extension
CSS fixes for product image handling

The image file field was off 100px to the right, causing the browser to
display the wrong cursor when hovering over it.
Merge pull request #1026 from mbertheau/update-select2-to-3.4.5

Update select2 to version 3.4.5
Revert "Use {% static %} for all images"

I don't know what I was smoking, sorry. Media files should not be passed
through the {% static %} tag. And the url function of ImageFields
handles handing out the correct URL just fine.

This reverts commit 9f5301e6f50a8c129a29c69f8cc64034643228e3 and
c9576c9ca0cccb624339131c7cdb4a0b628cd576?.
Remove unnecessary missing image handling

That code did nothing.
Use thumbnails for ImageInput widget

The entire image handling in the dashboard isn't very pretty. But at
least we're not using full-size images for this.
We also can't assume that just prepending MEDIA_URL is the correct URL
for every image (e.g. not when using S3 backends). Passing it through
Sorl gets us the correct URL for free.
Merge pull request #1042 from tangentlabs/fix/media

Revert {% static %} tag for media files & tweaks
Whitespace, Formatting, PEP8
customize FormSet class after calling inlineformset_factory

That way there's no need to know what base class inlineformset_factory
uses and it's consistent with StockRecordFormSet.
Unify __init__ method signature of formset classes

so that we can treat them all the same in ProductCreateUpdateView. Also
add user argument as that will be needed for
https://github.com/tangentlabs/django-oscar/pull/1002
Make it trivially easy to add more formsets to the product update page
Provide a hook for cross-form validation