Fix bug when creating batch from product query.

Caused by some refactoring to remove edbob cruft.
This commit is contained in:
Lance Edgar 2015-04-14 15:38:57 -05:00
parent 1c15f96c65
commit b30549cab6

View file

@ -431,7 +431,7 @@ class CreateProductsBatch(ProductsGrid):
if self.request.POST:
provider = self.request.POST.get('provider')
if provider:
provider = batches.get_provider(provider)
provider = batches.get_provider(self.request.rattail_config, provider)
if provider:
if self.request.POST.get('params') == 'True':