2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-19 18:05:54 +00:00

Rebuilt migrations again (arrrrrrrrrrrrrrrrrrrrrrrrrrgh never do this)

This commit is contained in:
Oliver Walters
2019-05-20 21:45:37 +10:00
parent 34620b22b0
commit 70be052c74
8 changed files with 57 additions and 24 deletions

View File

@@ -186,7 +186,7 @@ class StockItem(models.Model):
}
)
part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations', help_text='Base part')
part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='stock_items', help_text='Base part')
supplier_part = models.ForeignKey('company.SupplierPart', blank=True, null=True, on_delete=models.SET_NULL,
help_text='Select a matching supplier part for this stock item')