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

[WIP] Build order consume #8191

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

SchrodingersGat
Copy link
Member

This is a large(ish) feature branch which allows stock to be consumed by a build order before the build order is complete.

This allows more complex (and useful) workflows, where the build might take some significant time, but the stock is consumed at the start. e.g. a batch of PCBs are loaded, but then require a lot of testing, etc.

Currently, the allocated stock must "languish" in the build order, and this makes tracking of real stock quantities difficult.

Given that this feature might take a while to integrate and test, I am targetting it (for now at least) against 1.0.0. This will not be implemented in the legacy user interface.

TODO

  • Update documenation around new workflows
  • PUI updates
  • Playwright testing
  • Updated unit testing
  • Ensure partial allocation vs partial consumption works well

@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Sep 26, 2024
@SchrodingersGat SchrodingersGat marked this pull request as draft September 26, 2024 10:37
Copy link

netlify bot commented Sep 26, 2024

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

Name Link
🔨 Latest commit ac82968
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67471f7b438adf0008b889ae
😎 Deploy Preview https://deploy-preview-8191--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 Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.60%. Comparing base (e2e0ecc) to head (b3a1502).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8191      +/-   ##
==========================================
- Coverage   84.61%   84.60%   -0.01%     
==========================================
  Files        1178     1178              
  Lines       53641    53601      -40     
  Branches     2026     2024       -2     
==========================================
- Hits        45387    45349      -38     
+ Misses       7730     7729       -1     
+ Partials      524      523       -1     

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


🚨 Try these New Features:

Copy link
Member

@matmair matmair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build orders feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants