From ed431b1acdccceb598e1652d03e948d149b57ed5 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 25 Nov 2025 11:13:27 +0000 Subject: [PATCH] Require contenttypes to be updated --- .../InvenTree/common/migrations/0041_auto_20251028_1112.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),