mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-22 09:47:00 +00:00
Fix for BuildOrder reference default value
This commit is contained in:
1 parent
60e8a17f07
commit
ecf47aa69d
1 file changed
+1
-1
@@ -53,7 +53,7 @@ def get_next_build_number():
|
||||
reference = build.reference
|
||||
|
||||
while 1:
|
||||
reference = increment(build.reference)
|
||||
reference = increment(reference)
|
||||
|
||||
if reference in attempts:
|
||||
# Escape infinite recursion
|
||||
|
||||
Reference in new issue
Block a user