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

[Build] Create child builds #7941

Merged
merged 9 commits into from
Aug 21, 2024

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Aug 21, 2024

  • Adds option (when creating a build order) to automatically generate child build orders
  • Default = False (requires user intervention)

TODO

  • Add unit tests
  • Add note to documentation

@SchrodingersGat SchrodingersGat added user interface User interface api Relates to the API build Build orders feature Platform UI Related to the React based User Interface labels Aug 21, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Aug 21, 2024
Copy link

netlify bot commented Aug 21, 2024

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

Name Link
🔨 Latest commit 5d78918
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66c5813dff19ce00081989d3

Copy link

codecov bot commented Aug 21, 2024

Codecov Report

Attention: Patch coverage is 97.91667% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.23%. Comparing base (bbd432c) to head (5d78918).
Report is 5 commits behind head on master.

Files Patch % Lines
src/backend/InvenTree/build/api.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7941      +/-   ##
==========================================
- Coverage   83.47%   82.23%   -1.25%     
==========================================
  Files        1130     1130              
  Lines       50405    51834    +1429     
  Branches     1754     1755       +1     
==========================================
+ Hits        42078    42628     +550     
- Misses       7876     8753     +877     
- Partials      451      453       +2     
Flag Coverage Δ
backend 85.22% <97.72%> (+0.01%) ⬆️
pui 65.18% <100.00%> (-0.11%) ⬇️

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.

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.

Intresting addition. There might be room to do a wizard for creating subassemblies.

@SchrodingersGat SchrodingersGat merged commit 8474b7b into inventree:master Aug 21, 2024
26 checks passed
@SchrodingersGat SchrodingersGat deleted the create-child-builds branch August 21, 2024 06:31
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 feature Platform UI Related to the React based User Interface user interface User interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants