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

BOM / Build Updates #6604

Merged
merged 12 commits into from Feb 29, 2024
Merged

Conversation

SchrodingersGat
Copy link
Member

This PR adds some more information to the stock / BOM / Build API endpoints, for improved clarity on available stock.

External Stock

  • Adds an "external_stock" field, which indicates how much stock is "external"
  • Adds this field to the "part" serializer
  • Adds this field to the "bom_item" serializer
  • Adds this field to the "build_item" serializer
  • Add indicator for this value to various tables

Build Stock

The "build line" table now filters stock availability based on the specified "source location" for the build order.

If the build order specifies a "source location" then only stock within that location will be accounted for in the "available" column

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature part Related to Part models user interface User interface api Relates to the API build Build orders Platform UI Related to the React based User Interface labels Feb 29, 2024
@SchrodingersGat SchrodingersGat added this to the 0.14.0 milestone Feb 29, 2024
Copy link

netlify bot commented Feb 29, 2024

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

Name Link
🔨 Latest commit 04424a6
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65e0076aa40ccb00082f2fdd

@SchrodingersGat SchrodingersGat merged commit 37c1fe1 into inventree:master Feb 29, 2024
22 checks passed
@SchrodingersGat SchrodingersGat deleted the build-available branch February 29, 2024 05:16
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 part Related to Part models 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.

None yet

1 participant