From f12f8156bd312cf5d40563f52fdaddeb10bd121a Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 2 Oct 2020 13:54:23 +1000 Subject: [PATCH] Fix for "next avilable serial number" string --- InvenTree/part/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 24c7ac1eb7..1400abd225 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -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