mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Part model updates
This commit is contained in:
@ -56,6 +56,8 @@ class Part(models.Model):
|
||||
class Meta:
|
||||
verbose_name = "Part"
|
||||
verbose_name_plural = "Parts"
|
||||
unique_together = (("name", "category"),
|
||||
("IPN", "category"))
|
||||
|
||||
@property
|
||||
def stock(self):
|
||||
|
Reference in New Issue
Block a user