Skip to content

[bug] Fix for merging stock items - #13091

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:stock-merge-fix
Oct 24, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:stock-merge-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

- Use *target* stock status if supplied
- Closes inventree#13086
@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Oct 24, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed stock Related to Stock models backport Apply this label to a PR to enable auto-backport action backport-to-1.6.x labels Oct 24, 2026
@netlify

netlify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

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

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

@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.95%. Comparing base (e701eaa) to head (0b51d29).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13091      +/-   ##
==========================================
- Coverage   87.10%   86.95%   -0.16%     
==========================================
  Files        1534     1534              
  Lines      106363   106659     +296     
  Branches    11972    11972              
==========================================
+ Hits        92644    92740      +96     
- Misses      13653    13853     +200     
  Partials       66       66              
Flag Coverage Δ
backend 92.16% <96.96%> (+0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 92.33% <96.96%> (-0.09%) ⬇️
Backend General 94.50% <ø> (ø)
Frontend 79.25% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit cdb3b1e into inventree:master Oct 24, 2026
52 checks passed
@SchrodingersGat
SchrodingersGat deleted the stock-merge-fix branch October 24, 2026 08:00
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.6.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Oct 24, 2026
- Use *target* stock status if supplied
- Closes #13086

(cherry picked from commit cdb3b1e)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed stock Related to Stock models

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transfer with merge and a new status merges Damaged stock into OK stock

1 participant