2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00
This commit is contained in:
Oliver Walters 2019-04-28 11:54:40 +10:00
parent a9224445b6
commit 2f7f49c116

View File

@ -84,7 +84,7 @@ class StockItem(models.Model):
- The 'part' and 'supplier_part.part' fields cannot point to the same Part object - The 'part' and 'supplier_part.part' fields cannot point to the same Part object
- The 'part' does not belong to itself - The 'part' does not belong to itself
- Quantity must be 1 if the StockItem has a serial number - Quantity must be 1 if the StockItem has a serial number
""" """
# The 'supplier_part' field must point to the same part! # The 'supplier_part' field must point to the same part!
try: try: