fix: cast enum as list to satisfy deform widget
seems to only be an issue for deform 2.0.15+
This commit is contained in:
		
							parent
							
								
									9146cdc835
								
							
						
					
					
						commit
						e23193b730
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -46,7 +46,7 @@ class ExecutionOptions(colander.Schema): | |||
|     action = colander.SchemaNode( | ||||
|         colander.String(), | ||||
|         validator=colander.OneOf(ACTION_OPTIONS), | ||||
|         widget=dfwidget.SelectWidget(values=ACTION_OPTIONS.items())) | ||||
|         widget=dfwidget.SelectWidget(values=list(ACTION_OPTIONS.items()))) | ||||
| 
 | ||||
| 
 | ||||
| class ProductBatchView(BatchMasterView): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar