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

Set null location on stock item: #8565

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Nov 26, 2024

  • When consumed by a build order
  • When shipped to a customer

This ensures that the behaviour is in-line with other "transformative" stock operations. The item is no longer consider to be "in" a specific location, so the location field is set to None

- When consumed by a build order
- When shipped to a customer
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed stock Related to Stock models breaking Indicates a major update or change which breaks compatibility labels Nov 26, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Nov 26, 2024
Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 43d64ae
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67458f42bea4ef0008edcbbe
😎 Deploy Preview https://deploy-preview-8565--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.42%. Comparing base (ee9980e) to head (43d64ae).
Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8565      +/-   ##
==========================================
- Coverage   84.57%   84.42%   -0.15%     
==========================================
  Files        1178     1178              
  Lines       53690    53814     +124     
  Branches     2028     2028              
==========================================
+ Hits        45406    45433      +27     
- Misses       7760     7857      +97     
  Partials      524      524              
Flag Coverage Δ
backend 85.96% <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 9d2ca5e into inventree:master Nov 26, 2024
28 checks passed
@SchrodingersGat SchrodingersGat deleted the null-location branch November 26, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Indicates a major update or change which breaks compatibility 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