2
0
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:
Oliver
2021-11-10 10:47:17 +11:00
parent 85b906f49d
commit 257be18d79
2 changed files with 20 additions and 0 deletions

View File

@ -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,