mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #1013 from SchrodingersGat/next-available-fix
Fix for "next avilable serial number" string
This commit is contained in:
commit
e6526288cd
@ -434,7 +434,7 @@ class Part(MPTTModel):
|
||||
|
||||
return _('Next available serial numbers are') + ' ' + text
|
||||
else:
|
||||
text = str(latest)
|
||||
text = str(latest + 1)
|
||||
|
||||
return _('Next available serial number is') + ' ' + text
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user