Merge pull request #1013 from SchrodingersGat/next-available-fix

Fix for "next avilable serial number" string
This commit is contained in:
Oliver 2020-10-02 14:01:25 +10:00 committed by GitHub
commit e6526288cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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