Skip to content

[feature] Consumable part#12295

Open
SchrodingersGat wants to merge 15 commits into
inventree:masterfrom
SchrodingersGat:consumable-part
Open

[feature] Consumable part#12295
SchrodingersGat wants to merge 15 commits into
inventree:masterfrom
SchrodingersGat:consumable-part

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Jul 3, 2026

Copy link
Copy Markdown
Member

Adds the ability to add a "consumable" attribute to a part. Acts the same as the "consumable" attribute on the "BomItem" level, but makes the part itself consumable across all BOMs.

This attribute would be applied to items which are hard to track stock for automatically, like adhesives, tapes, etc. Documentation and business logic updated accordingly.

@SchrodingersGat SchrodingersGat added this to the 1.5.0 milestone Jul 3, 2026
@SchrodingersGat SchrodingersGat requested a review from matmair as a code owner July 3, 2026 00:23
@SchrodingersGat SchrodingersGat added part Related to Part models api Relates to the API build Build orders feature User Interface Related to the frontend / User Interface labels Jul 3, 2026
@netlify

netlify Bot commented Jul 3, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit d5045ea
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a47c3bd254eb6000978e1b5

@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.08%. Comparing base (f656ac7) to head (d5045ea).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12295      +/-   ##
==========================================
- Coverage   86.62%   85.08%   -1.54%     
==========================================
  Files        1393     1389       -4     
  Lines       91418    90612     -806     
  Branches    10658    10441     -217     
==========================================
- Hits        79188    77100    -2088     
- Misses      12166    13451    +1285     
+ Partials       64       61       -3     
Flag Coverage Δ
backend 90.69% <100.00%> (+0.01%) ⬆️

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API build Build orders documentation feature part Related to Part models User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants