Fix bug when making batch from product query
This commit is contained in:
parent
061aa889a6
commit
b2fe300f02
|
@ -516,7 +516,7 @@ class ProductsView(MasterView):
|
|||
pform = params_forms.get(batch_key)
|
||||
if pform:
|
||||
pdata = pform.validate(controls)
|
||||
for field in pform:
|
||||
for field in pform.schema:
|
||||
param_name = pform.schema[field.name].param_name
|
||||
params[param_name] = pdata[field.name]
|
||||
|
||||
|
|
Loading…
Reference in a new issue