From b30549cab615398bc46c430764e6035c13971435 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Apr 2015 15:38:57 -0500 Subject: [PATCH 1/2] Fix bug when creating batch from product query. Caused by some refactoring to remove edbob cruft. --- tailbone/views/products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': From 87708c755b5ac7703b3b0db1a546b8fd2f0415dd Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Apr 2015 15:40:28 -0500 Subject: [PATCH 2/2] Update changelog. --- CHANGES.rst | 6 ++++++ tailbone/_version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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'