mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 21:00:55 +00:00
Fix for BuildOrder reference default value
This commit is contained in:
@@ -53,7 +53,7 @@ def get_next_build_number():
|
|||||||
reference = build.reference
|
reference = build.reference
|
||||||
|
|
||||||
while 1:
|
while 1:
|
||||||
reference = increment(build.reference)
|
reference = increment(reference)
|
||||||
|
|
||||||
if reference in attempts:
|
if reference in attempts:
|
||||||
# Escape infinite recursion
|
# Escape infinite recursion
|
||||||
|
Reference in New Issue
Block a user