fix(ui): show initial stock fields when PART_CREATE_INITIAL enabled (#12415)

* fix(ui): show initial stock fields when PART_CREATE_INITIAL enabled (#12266)

* Fix Docker setup for local Windows deployment.

Disable Redis disk persistence to avoid bind-mount permission errors that caused login 500s, and configure localhost as the default site URL.

* Apply Biome formatting to Playwright test file.

Fixes Style [prek] CI failure on PR #12415.

* Use specific locators in initial stock Playwright tests.

Avoid strict-mode violations from getByText('Initial Stock') matching multiple form elements.

* Scope initial stock Playwright test to part detail Stock tab.

Avoid strict-mode violations from duplicate Stock tabs on the part page.

* Use raw SQL inserts in MPTT migration test setup.

Avoid duplicate status_custom_key ORM bug in historical StockItem models.
This commit is contained in:
Senior Data Engineer & Data Architect
2026-07-20 19:05:54 +10:00
committed by GitHub
parent 8075c3ee37
commit 44d8d0e266
5 changed files with 114 additions and 29 deletions
+8 -6
View File
@@ -9,8 +9,10 @@ COMPOSE_PROJECT_NAME=inventree
INVENTREE_TAG=stable
# InvenTree server URL - update this to match your server URL
INVENTREE_SITE_URL="http://inventree.localhost"
#INVENTREE_SITE_URL="http://192.168.1.2" # You can specify a local IP address here
# Local: http://localhost or http://inventree.localhost (requires hosts entry)
# LAN: http://192.168.133.37
INVENTREE_SITE_URL="http://localhost"
#INVENTREE_SITE_URL="http://inventree.localhost"
#INVENTREE_SITE_URL="https://inventree.my-domain.com" # Or a public domain name (which you control)
INVENTREE_WEB_PORT=8000
@@ -34,10 +36,10 @@ INVENTREE_PLUGINS_ENABLED=True
INVENTREE_AUTO_UPDATE=True
# InvenTree superuser account details
# Un-comment (and complete) these lines to auto-create an admin account
#INVENTREE_ADMIN_USER=
#INVENTREE_ADMIN_PASSWORD=
#INVENTREE_ADMIN_EMAIL=
# Demo dataset includes its own users — see docs/demo.md
#INVENTREE_ADMIN_USER=admin
#INVENTREE_ADMIN_PASSWORD=admin
#INVENTREE_ADMIN_EMAIL=admin@localhost
# Database configuration options
# DO NOT CHANGE THESE SETTINGS (unless you really know what you are doing)