diff --git a/src/backend/InvenTree/company/test_migrations.py b/src/backend/InvenTree/company/test_migrations.py index 92220e9954..3f4e6dff7c 100644 --- a/src/backend/InvenTree/company/test_migrations.py +++ b/src/backend/InvenTree/company/test_migrations.py @@ -431,7 +431,7 @@ class TestManufacturerPartParameterMigration(MigratorTestCase): # There should be 3 Parameter objects linked to the ManufacturerPart params = Parameter.objects.filter( - content_type=content_type, object_id=manu_part.pk + model_type=content_type, model_id=manu_part.pk ) self.assertEqual(params.count(), 3)