* add backend stuff
* update str method
* add to admin
* [FR] Add FTUE
Fixes#2907
* bump deps
* bump api
* add missing ruleset entry
* fix init
* add jumpoff to nav
* try disableing specific test
* fix lookup
* fix mounting
* disable more
* make tour conditional
* only show ftue once
* remove temp disable
* add actual content
* enable using the menu as well
* reorder steps
* finish propagation
* only allow delete
* lower testing runtime for now
* fix nitpicks
* revert frontend debug changes
* fix migration
* patch out ftu behaviour on the backend
* rename to first time use guide
* change tipp (DE) to tip (EN)
* deduplicate notification
* Add internal company flag
* Unit tests
* Add changelog entry and update API version
* add global company table
* Expose model_filters for internal settings
* Update API version
* Update CHANGELOG
* update assert
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Add 'contact' field to SalesOrderShipment model
* add unit test
* Update shipment table
* improve UI form
* Add 'phone' and 'email' fields to Address model
* Bump API version
* Update CHANGELOG
* Updated docs
* [UI] Replace BOM subassembly table
- Do not render as a separate table
- Dynamically load and insert subassembly data
- Retains single table layout
- Observe same column setup
* Adjust alignment of icons
* Hide certain icons for nested rows
* Display subassembly quantity chain
* Display full multiplication chain
* Add nested pricing multipliers
* Display the multiplied "can-build" quantity
* Updated BOM docs
* Playwright tests
* Handle case where can_build is zero
* Refresh nested BOM when underlying records change
* Remove trunc for display
* fix playwright test
* disable restriction (for now)
* add option for a permanent navigation tree
* revert unintended change
* adjust search text to be less confusing when pinned
Keep the BOM requirement on parent rows. In allocation subtables, use
the shared part renderer with full_name when the allocated part differs
from the requirement, respecting PART_NAME_FORMAT. Exact matches keep
the compact name; shared copy, thumbnail and status behavior is retained.
Mark differing parts with a neutral information icon and scope output
allocation tables to the selected output. Cover revision differences,
family descendants, empty fields, custom formats, copying and refresh.
* Fix hover div element
* Improve badge formatting
* Set staleTime for useQuery in NameBadge
* add staleTime elsewhere
* Improved error handlign for badges
* Better caching for parameterTemplate useQuery
* Disable remoteInstance query without pk
* Improve barcode scanning with native BarcodeDetector
Use the browser-native BarcodeDetector (Shape Detection API) for camera
barcode scanning when available, falling back to html5-qrcode. Native
decoding is hardware-accelerated and far more robust to low light, blur
and small codes than the pure-JS software decoder.
Also:
- Prefer the rear camera and higher resolution for better recognition
- Add a flashlight (torch) toggle for low-light scanning
- Full-frame detection (no aiming box) with multi-code support
- Auto-select a camera so scanning starts without manual selection
- Relax camera constraints (ideal instead of exact) for mobile robustness
- Fix a bug where the native <video> element was not rendered before
scanning started, making the play button unresponsive
* Honor selected camera instead of forcing rear camera
The videoConstraints.facingMode override in the legacy html5-qrcode
path replaced the selected camera ID entirely, so selfie/front cameras
could not be used. Remove the facingMode preference from both scan
paths and rely on the camera selector, which already auto-selects the
rear camera when available.
* Adjust camera input settings for barcode scanning
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* fix typing issue for pylance engine
* add flags to mark rough function of setting
* update pr version
* fix settings serialisation
* render security warnings
* move Transfer Orders
* respect return order hiding
* almost all confirm texts will have a warning
* add settings for sales, purchase and buildorder deactivation
* make permission check also ensure gloablsetting for view is available; reduce number of chained gates
* document possible missing check
* ensure we can still show the sales tab
* add additional warning to group cleanup
* hide more ui parts conditionally
* add tests for new code and remove duplication
* fix test
* alternative approach to fix SSO path
* remove patch; now done in serializer
* ignore ldap section
* Add user option to rotate table column headers (#12558)
Wide column titles (e.g. "Temperature coefficient [±ppm/°C]") take a
lot of horizontal space for narrow data. Add a ROTATE_TABLE_HEADERS
user setting (Display Options) which renders table header titles
vertically via a scoped CSS class, following the implementation
sketch from the issue discussion.
* Format ROTATE_TABLE_HEADERS description per ruff-format
* add missing doc place
* Document ROTATE_TABLE_HEADERS setting in user settings docs
* docs: add changelog entry for rotated table headers option
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
The search drawer searches notes when the notes-search setting is
enabled, but the "view all results" link only carried the plain
search term - so results that matched only via their notes were
missing from the full results table.
Pass the search_notes flag through to the overview table URL when
notes search is active; the table forwards URL query parameters to
the API, where InvenTreeSearchFilter already supports search_notes.
* Add owner field to stock location create/edit form (#12537)
The platform UI form for stock locations is built from the explicit
field list in stockLocationFields(), which did not include 'owner'.
The StockLocation model (migration 0057), LocationSerializer and the
documentation all support the owner field, so restore UI parity by
adding it, following the same pattern as the stock item form.
* Hide owner field when stock ownership is disabled (#12537)
Per review: only render the owner field in the stock location
create/edit forms when the STOCK_OWNERSHIP_CONTROL global setting is
enabled. stockLocationFields() becomes the useStockLocationFields()
hook so the form can react to the setting, following the same pattern
as the expiry date field in useStockFields().
* Bug fixes for Note model
- Allow note to be created as "primary"
- Reset note creation fields in editor
* Tweak to ensure that the API spec does not change