diff --git a/src/backend/InvenTree/common/migrations/0041_auto_20251028_1112.py b/src/backend/InvenTree/common/migrations/0041_auto_20251028_1112.py index 654b761e91..144b640046 100644 --- a/src/backend/InvenTree/common/migrations/0041_auto_20251028_1112.py +++ b/src/backend/InvenTree/common/migrations/0041_auto_20251028_1112.py @@ -186,7 +186,6 @@ def update_category_parameters(apps, schema_editor): to_update.append(item) - if len(to_update) > 0: PartCategoryParameterTemplate.objects.bulk_update(to_update, ['template']) print(f"Updated {len(to_update)} PartCategoryParameterTemplate instances.") @@ -195,6 +194,7 @@ def update_category_parameters(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ + ('contenttypes', '__latest__'), ("part", "0132_partparametertemplate_selectionlist"), ("company", "0034_manufacturerpart"), ("common", "0040_parametertemplate_parameter"),