mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Part model updates
This commit is contained in:
parent
d3781427ad
commit
4f6802b9bf
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user