Skip to content

Change default barcode type#11304

Merged
SchrodingersGat merged 11 commits intoinventree:masterfrom
SchrodingersGat:default-barcode
Feb 16, 2026
Merged

Change default barcode type#11304
SchrodingersGat merged 11 commits intoinventree:masterfrom
SchrodingersGat:default-barcode

Conversation

@SchrodingersGat
Copy link
Copy Markdown
Member

Changes the default barcode generation style to "short" (from legacy "json")

This should only impact new installs - as the stored setting will be retained. Any old installs will keep their old setting.

The new "short" style is much better.

@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Feb 12, 2026
@SchrodingersGat SchrodingersGat added barcode Barcode scanning and integration plugin Plugin ecosystem labels Feb 12, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 12, 2026

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 3b44902
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69930a8116721b00080d236b

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.55%. Comparing base (5f4dd49) to head (3b44902).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11304      +/-   ##
==========================================
- Coverage   88.06%   87.55%   -0.51%     
==========================================
  Files        1292     1292              
  Lines       58502    58886     +384     
  Branches     1943     1943              
==========================================
+ Hits        51518    51560      +42     
- Misses       6500     6842     +342     
  Partials      484      484              
Flag Coverage Δ
backend 89.28% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 90.94% <100.00%> (-0.87%) ⬇️
Backend General 93.41% <ø> (ø)
Frontend 70.88% <ø> (+<0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 16, 2026

Merging this PR will improve performance by ×3.3

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 44 improved benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime test_api_auth_performance 1,650.7 ms 650.1 ms ×2.5
WallTime test_api_list_performance[/api/part/] 222.3 ms 73.9 ms ×3
WallTime test_api_options_performance[/api/parameter/] 41 ms 12.5 ms ×3.3
WallTime test_api_list_performance[/api/part/category/] 48.7 ms 16.3 ms ×3
WallTime test_api_options_performance[/api/parameter/template/] 27.9 ms 8.7 ms ×3.2
WallTime test_api_options_performance[/api/order/po-line/] 465.9 ms 157.9 ms ×3
WallTime test_search_performance[part] 184.1 ms 60.2 ms ×3.1
WallTime test_api_list_performance[/api/build/] 129.1 ms 42 ms ×3.1
WallTime test_api_list_performance[/api/stock/] 479.1 ms 162 ms ×3
WallTime test_api_list_performance[/api/stock/location/] 60.3 ms 19.7 ms ×3.1
WallTime test_search_performance[purchaseorder] 72.6 ms 23.8 ms ×3
WallTime test_search_performance[salesordershipment] 61.2 ms 21.1 ms ×2.9
WallTime test_api_list_performance[/api/build/item/] 927 ms 327.8 ms ×2.8
WallTime test_api_list_performance[/api/order/so/] 132.4 ms 45.5 ms ×2.9
WallTime test_search_performance[returnorder] 84 ms 27.6 ms ×3
WallTime test_search_performance[manufacturer] 43 ms 14.1 ms ×3.1
WallTime test_search_performance[salesorder] 96.9 ms 32.3 ms ×3
WallTime test_search_performance[supplierpart] 119.2 ms 38.7 ms ×3.1
WallTime test_search_performance[customer] 43 ms 14.2 ms ×3
WallTime test_search_performance[manufacturerpart] 66.2 ms 21.3 ms ×3.1
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing SchrodingersGat:default-barcode (3b44902) with master (a95ee3c)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (5f4dd49) during the generation of this report, so a95ee3c was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@SchrodingersGat SchrodingersGat merged commit 033ad42 into inventree:master Feb 16, 2026
38 checks passed
@SchrodingersGat SchrodingersGat deleted the default-barcode branch February 16, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

barcode Barcode scanning and integration plugin Plugin ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants