diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index ff44892da7..92dd8a0d68 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -390,8 +390,8 @@ class Part(models.Model): null=True, blank=True, variations={'thumbnail': (128, 128)}, - delete_orphans=True - ) + delete_orphans=True, + ) default_location = TreeForeignKey('stock.StockLocation', on_delete=models.SET_NULL, blank=True, null=True,