diff --git a/CHANGES.rst b/CHANGES.rst index 6ba29d22..4b066a92 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,11 @@ .. -*- coding: utf-8 -*- +0.4.12 +------ + +* Fix bug when creating batch from product query. + + 0.4.11 ------ diff --git a/tailbone/_version.py b/tailbone/_version.py index 218dc802..72061ae0 100644 --- a/tailbone/_version.py +++ b/tailbone/_version.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = u'0.4.11' +__version__ = u'0.4.12' diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 1e5e0716..634b2f90 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -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':