mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for BuildOrder reference default value
This commit is contained in:
parent
60e8a17f07
commit
ecf47aa69d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user