Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear allocations when manually returning an item into stock #8298

Merged

Conversation

SchrodingersGat
Copy link
Member

Fixes bug where the sales order allocations would still exist, meaning the stock item is still effectively "out of stock"

@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-0.16.x labels Oct 16, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Oct 16, 2024
Copy link

netlify bot commented Oct 16, 2024

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

Name Link
🔨 Latest commit 571f75f
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/670f5561a4986c00081eb813

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.39%. Comparing base (d59994e) to head (571f75f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8298   +/-   ##
=======================================
  Coverage   84.39%   84.39%           
=======================================
  Files        1164     1164           
  Lines       52677    52678    +1     
  Branches     1916     1916           
=======================================
+ Hits        44459    44460    +1     
  Misses       7731     7731           
  Partials      487      487           
Flag Coverage Δ
backend 85.97% <100.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SchrodingersGat SchrodingersGat merged commit 181e1dd into inventree:master Oct 16, 2024
30 checks passed
@SchrodingersGat SchrodingersGat deleted the return-from-customer-fix branch October 16, 2024 06:13
github-actions bot pushed a commit that referenced this pull request Oct 16, 2024
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
0.16.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 16, 2024
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 backport-to-0.16.x 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.

1 participant