mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix non null field 'description' (#7488)
Fix typo in migration '0026_auto_20240422_1301.py' to resolve error: `TypeError: LabelTemplate() got unexpected keyword arguments: 'decription'`
This commit is contained in:
parent
edd0680344
commit
5a6708a042
@ -36,7 +36,7 @@ def convert_legacy_labels(table_name, model_name, template_model):
|
||||
'name', 'description', 'label', 'enabled', 'height', 'width', 'filename_pattern', 'filters'
|
||||
]
|
||||
|
||||
non_null_fields = ['decription', 'filename_pattern', 'filters']
|
||||
non_null_fields = ['description', 'filename_pattern', 'filters']
|
||||
|
||||
fieldnames = ', '.join(fields)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user