Fix bug when creating batch from product query.
Caused by some refactoring to remove edbob cruft.
This commit is contained in:
parent
1c15f96c65
commit
b30549cab6
|
@ -431,7 +431,7 @@ class CreateProductsBatch(ProductsGrid):
|
||||||
if self.request.POST:
|
if self.request.POST:
|
||||||
provider = self.request.POST.get('provider')
|
provider = self.request.POST.get('provider')
|
||||||
if provider:
|
if provider:
|
||||||
provider = batches.get_provider(provider)
|
provider = batches.get_provider(self.request.rattail_config, provider)
|
||||||
if provider:
|
if provider:
|
||||||
|
|
||||||
if self.request.POST.get('params') == 'True':
|
if self.request.POST.get('params') == 'True':
|
||||||
|
|
Loading…
Reference in a new issue