-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6673: Close requistions when stock exits complete them r=jniles a=jmcameron Updated the Stock Exit handling so that if a stock exits completes a requisition, it will be marked as complete. Closes #6424 **Notes** - This will only mark a requisition as complete if all items in the requisition are handled by the stock exit. If any items are not handled, this change will leave it marked as "Partial". - Since it is possible for a requisition to be completed even if all items are not handled (eg, when items are lost in transit), we probably need a way to mark such requisitions as completed. A separate issue should be created to address this issue. **TESTING** - Use bhima_test - Go to: Stock > Stock Exit - Make sure the source depot is: Depot Principal - Select from [Depot] and choose the destination depot: Depot Secondaire - Answer "Yes" to "Do you have a requisition slip?" - Select the requisition - Click [Submit] - In the main Stock Exit form, notice that some items in the order (Prednisolone) are not available - Click [Submit] to perform as much of the requisition as possible. - Go to: Stock > Requisition - Notice that the requistion SREQ.TPA.2 is still marked Partial. - Edit the requistion - Change the quantity for the quinine to 5 (greater than 4) - Delete the Prednisolone - Click [Submit] - Go back to: Stock > Exit - Repeat the process above (exiting the extra quinine to fulfill the requisition) - Go back to: Stock > Requisition - Notice the requisition is now marked Complete Co-authored-by: Jonathan Cameron <jmcameron@gmail.com>
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters