Merge branch 'bugfix'

This commit is contained in:
Lance Edgar 2015-04-14 15:40:55 -05:00
commit 49cb1e8e13
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,11 @@
.. -*- coding: utf-8 -*-
0.4.12
------
* Fix bug when creating batch from product query.
0.4.11
------

View file

@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
__version__ = u'0.4.11'
__version__ = u'0.4.12'

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':