Build Order Reference not updating automatically (unless browser is refreshed)
Please verify that this bug has NOT been raised before.
- [x] I checked and didn't find a similar issue
Describe the bug*
When adding multiple build orders, the build order reference is not incremented automatically, triggering an error response:
This can be avoided by refreshing (F5) the page before adding the next build order.
Sidequest: This screenshot is taken from the default Demo website, opened from a US/English system. The error message is in Russian.
Steps to Reproduce
- Go to https://demo.inventree.org/web/part/77/builds
- Add a build order
- Add a second build order
Expected behaviour
Build order reference is incremented
Deployment Method
Other - added info in Steps to Reproduce
Version Information
InvenTree-Version: 1.2.0 dev Django Version: 5.2.8 Commit Hash: 8cb808f Commit Date: 2025-11-14 Commit Branch: null Database: django.db.backends.postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-5.15.0-100-generic-x86_64-with-glibc2.41 Installer: DOC Active plugins: false
Try to reproduce on the demo site
I tried to reproduce
Is the bug reproducible on the demo site?
Reproducible
Relevant log output
Side quest: The demo has an issue in that users can change the language and error messages etc are then send in that language going forward so this is to be expected
See incoming fix in https://github.com/inventree/InvenTree/pull/10840. This should address this style of problem across the entire interface