mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
more docs
This commit is contained in:
parent
972f93f6d8
commit
410c190ddf
@ -500,6 +500,7 @@ def extract_serial_numbers(serials, expected_quantity, next_number: int):
|
|||||||
errors.append(_("Invalid group: {g}").format(g=group))
|
errors.append(_("Invalid group: {g}").format(g=group))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Group is a number
|
||||||
else:
|
else:
|
||||||
if group in numbers:
|
if group in numbers:
|
||||||
errors.append(_("Duplicate serial: {g}".format(g=group)))
|
errors.append(_("Duplicate serial: {g}".format(g=group)))
|
||||||
|
Loading…
Reference in New Issue
Block a user