mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
Small change to uuid should trigger migrations
This commit is contained in:
parent
dde8657612
commit
7e149f817c
@ -15,6 +15,7 @@ before_install:
|
|||||||
script:
|
script:
|
||||||
- make coverage
|
- make coverage
|
||||||
- make style
|
- make style
|
||||||
|
- git ls-files --exclude-standard --others
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
@ -127,7 +127,7 @@ class StockItem(models.Model):
|
|||||||
]
|
]
|
||||||
|
|
||||||
# UUID for generating QR codes
|
# UUID for generating QR codes
|
||||||
uuid = models.UUIDField(default=uuid.uuid4, blank=True, editable=False)
|
uuid = models.UUIDField(default=uuid.uuid4, blank=True, editable=False, help_text='Unique ID for the StockItem')
|
||||||
|
|
||||||
# The 'master' copy of the part of which this stock item is an instance
|
# The 'master' copy of the part of which this stock item is an instance
|
||||||
part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations')
|
part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user