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

Order table variants #8295

Merged

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Oct 16, 2024

Adds API filtering for "include_variants" when viewing orders based on a part.

e.g. Allows the BuildOrderTable to optionally display build orders for all variants of a selected part, or just the selected part

Also improves auto-doc exposure of some existing API filters

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders api Relates to the API build Build orders old user interface Issues with Old User interface Platform UI Related to the React based User Interface 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 ready!

Name Link
🔨 Latest commit d361a99
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/670f7f885f4a1f000884bcb5
😎 Deploy Preview https://deploy-preview-8295--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: 92 (no change from production)
SEO: 70 (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 Oct 16, 2024

Codecov Report

Attention: Patch coverage is 57.57576% with 42 lines in your changes missing coverage. Please review.

Project coverage is 84.28%. Comparing base (7c19e51) to head (d361a99).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/backend/InvenTree/order/api.py 33.33% 28 Missing ⚠️
src/backend/InvenTree/build/api.py 76.47% 4 Missing ⚠️
src/frontend/src/tables/sales/ReturnOrderTable.tsx 57.14% 2 Missing and 1 partial ⚠️
...end/src/tables/sales/SalesOrderAllocationTable.tsx 50.00% 2 Missing and 1 partial ⚠️
src/frontend/src/tables/sales/SalesOrderTable.tsx 40.00% 2 Missing and 1 partial ⚠️
src/frontend/src/pages/part/PartDetail.tsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8295      +/-   ##
==========================================
- Coverage   84.35%   84.28%   -0.07%     
==========================================
  Files        1164     1165       +1     
  Lines       52679    52756      +77     
  Branches     1917     1929      +12     
==========================================
+ Hits        44436    44467      +31     
- Misses       7766     7809      +43     
- Partials      477      480       +3     
Flag Coverage Δ
backend 85.93% <50.76%> (-0.05%) ⬇️
pui 66.80% <70.58%> (-0.14%) ⬇️

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 59fa3bb into inventree:master Oct 16, 2024
25 of 26 checks passed
@SchrodingersGat SchrodingersGat deleted the order-table-variants branch October 16, 2024 09:19
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 enhancement This is an suggested enhancement or new feature old user interface Issues with Old User interface order Related to purchase orders / sales orders Platform UI Related to the React based User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant