2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-10 23:14:13 +00:00

Migration fix

This commit is contained in:
Oliver
2018-04-19 08:31:31 +10:00
parent 433f670e1c
commit 3bb434ae98
2 changed files with 4 additions and 4 deletions

View File

@ -83,9 +83,9 @@ class StockItem(models.Model):
# TODO - Point to a Company object instead
# The StockItem may be assigned to a particular customer
#customer = models.ForeignKey(Customer, on_delete=models.SET_NULL,
# related_name='stockitems', blank=True, null=True,
# help_text='Item assigned to customer?')
customer = models.ForeignKey('supplier.Supplier', on_delete=models.SET_NULL,
related_name='stockitems', blank=True, null=True,
help_text='Item assigned to customer?')
# Optional serial number
serial = models.PositiveIntegerField(blank=True, null=True,