diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 1eb2eb75..0af8b09a 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -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]