-
-
Notifications
You must be signed in to change notification settings - Fork 781
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
Approval #5559
Approval #5559
Conversation
Add approval data Co-authored-by: Matthias Mair <[email protected]>
…approval-upstream
…approval-upstream
…approval-upstream
…approval-upstream
✅ Deploy Preview for inventree ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I did not close this because of no review from your side, #5597 was just a way to kill some time till feedback rolls in. There is no intrest any more from the people that requested the feature originally. I will move this to a plugin that allows me to be more agile and code specific to my use cases. |
Hi, Just pitching in here to bring to notice, I am very much interested in this feature coming to picture. |
Thanks for the interest @imsoumyaprakash. I have already lost interest in pursuing this in the public and started work polishing and moving the code into a closed plugin. You are more than welcome to use the ideas in this PR, but I won't focus on bringing this into core anymore. |
Follow up to #5095
Simplified implementation of approvals for orders. Includes building blocks for a more generalized rules and template-driven approach.
Function
This PR adds approvals (optionally) for POs. You can enable them in settings (including minimum approvers and maximum rejections). After that POs can only be placed once they are approved.
Notifications
Notifications will be sent out to the responsible user/group:
UI
As an experiment, I just implemented this in P UI. While the order views are not ready in P UI, approvals are.
Next steps
This is an MVP, I opened an epic for further improvements #5097.
While this PR adds a business logic and UI for PO approvals, approvals are a first-class citizen implementation-wise. They can be used as-is for any model and adding UI elements for that should be simple. The default rules engine is also simple right now but designed for complex requirements. If there is interest this can be extended.
Still to address
Closes #3501