mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
Prevent serial number for stock item with quantity > 1
This commit is contained in:
1 parent
9ea3d7bf71
commit
feb45513f7
3 files changed
+12
-1
No files matched your search
@@ -82,7 +82,7 @@ class Part(models.Model):
|
||||
""" Represents an abstract part
|
||||
Parts can be "stocked" in multiple warehouses,
|
||||
and can be combined to form other parts
|
||||
"""
|
||||
"""
|
||||
|
||||
def get_absolute_url(self):
|
||||
return '/part/{id}/'.format(id=self.id)
|
||||
|
||||
Reference in new issue
Block a user