2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-13 08:21:26 +00:00

Prevent serial number for stock item with quantity > 1

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

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)