2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Update navbar with category links

- Part
- Stock
- Supplier
This commit is contained in:
Oliver
2018-04-14 16:32:41 +10:00
parent 6a98846a8f
commit bc7e29aeb4
3 changed files with 14 additions and 3 deletions

View File

@ -46,6 +46,9 @@ class Part(models.Model):
# Internal Part Number (optional)
IPN = models.CharField(max_length=100, blank=True)
# Provide a URL for an external link
URL = models.URLField(blank=True)
# Part category - all parts must be assigned to a category
category = models.ForeignKey(PartCategory, related_name='parts',
null=True, blank=True,