mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-09 07:00:56 +00:00
Add 'serial_int' field to stockitem model
- Allows for integer sorting of stock items
This commit is contained in:
@ -504,6 +504,8 @@ class StockItem(MPTTModel):
|
||||
help_text=_('Serial number for this item')
|
||||
)
|
||||
|
||||
serial_int = models.IntegerField(default=0)
|
||||
|
||||
link = InvenTreeURLField(
|
||||
verbose_name=_('External Link'),
|
||||
max_length=125, blank=True,
|
||||
|
Reference in New Issue
Block a user