mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	| @@ -59,7 +59,7 @@ def convert_legacy_labels(table_name, model_name, template_model): | ||||
|         } | ||||
|  | ||||
|         for field in non_null_fields: | ||||
|             if data[field] is None: | ||||
|             if data.get(field, None) is None: | ||||
|                 data[field] = '' | ||||
|  | ||||
|         # Skip any "builtin" labels | ||||
|   | ||||
		Reference in New Issue
	
	Block a user