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

Adds "ON HOLD" status to order models #7807

Merged
merged 46 commits into from
Aug 7, 2024

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Aug 4, 2024

This PR adds the "ON HOLD" status type to existing order models, allowing orders to be marked as paused.

Features

  • Add to Build Order
  • Add to Purchase Order
  • Add to Sales Order
  • Add to Return Order
  • Implement state transition logic
  • Implement state transition controls to PUI
  • Adds a new useStatusCode hook which allows front-end code to access back-end enumeration values
  • Various optimizations

TODO

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders old user interface Issues with Old User interface api Relates to the API build Build orders refactor Platform UI Related to the React based User Interface labels Aug 4, 2024
@SchrodingersGat SchrodingersGat added this to the 0.16.0 milestone Aug 4, 2024
Copy link

netlify bot commented Aug 4, 2024

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

Name Link
🔨 Latest commit 67c9511
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66b31dbdf1c609000861c5ba

SchrodingersGat added a commit to inventree/demo-dataset that referenced this pull request Aug 5, 2024
@SchrodingersGat SchrodingersGat modified the milestones: 0.16.0, 0.17.0 Aug 7, 2024
@SchrodingersGat SchrodingersGat merged commit 0e8c297 into inventree:master Aug 7, 2024
26 checks passed
@SchrodingersGat SchrodingersGat deleted the order-hold branch August 7, 2024 10:34
Copy link

sentry-io bot commented Aug 14, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ AttributeError: 'NoneType' object has no attribute 'schedule_pricing_update' /api/order/so/{pk}/complete/ View Issue

Did you find this useful? React with a 👍 or 👎

SchrodingersGat added a commit to SchrodingersGat/InvenTree that referenced this pull request Aug 14, 2024
github-actions bot pushed a commit that referenced this pull request Aug 14, 2024
SchrodingersGat added a commit that referenced this pull request Aug 14, 2024
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 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 refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PUI] Implement status change buttons for orders Add "ON HOLD" status to orders
2 participants