Prevent serial number for stock item with quantity > 1

This commit is contained in:
Oliver committed 2018-04-29 13:20:02 +10:00
1 parent 9ea3d7bf71
commit feb45513f7
3 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -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)