From 22f8c1d8c787a05af0b00922f8ac857393dae9cb Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 2 May 2019 00:57:44 +1000 Subject: [PATCH] Adjust model field (haven't run make migrate yet) --- InvenTree/stock/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index 1be1385f5f..a2ccff16a6 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -130,7 +130,7 @@ class StockItem(models.Model): uuid = models.UUIDField(default=uuid.uuid4, blank=True, editable=False, help_text='Unique ID for the StockItem') # The 'master' copy of the part of which this stock item is an instance - part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations') + part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations', help_text='Base part') # The 'supplier part' used in this instance. May be null if no supplier parts are defined the master part supplier_part = models.ForeignKey('part.SupplierPart', blank=True, null=True, on_delete=models.SET_NULL)