mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
Part model updates
This commit is contained in:
1 parent
d3781427ad
commit
4f6802b9bf
1 file changed
+2
@@ -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