2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-13 08:21:26 +00:00

Fixed spash page for customer index

Added 'notes' field to Part object
This commit is contained in:
Oliver
2018-04-18 01:44:55 +10:00
parent f66a751608
commit a4621295a6
13 changed files with 97 additions and 12 deletions

View File

@ -139,6 +139,8 @@ class Part(models.Model):
# Can this part be sold to customers?
salable = models.BooleanField(default=False, help_text="Can this part be sold to customers?")
notes = models.TextField(blank=True)
def __str__(self):
if self.IPN:
return "{name} ({ipn})".format(