Skip to content

Commit

Permalink
feat: Updated dn/views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Apr 18, 2024
1 parent b994710 commit 705f155
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dn/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,9 @@ def retrieve(self, request, pk):


class DnNewOrderViewSet(viewsets.ModelViewSet):
"""
Manages new orders. This class deals with the creation of new orders, ensuring that all necessary validations are performed and that the interaction with warehouse data is optimized for efficiency and accuracy.
"""
"""
retrieve:
Response a data list(get)
Expand Down Expand Up @@ -594,6 +597,9 @@ def create(self, request, pk):
raise APIException({"detail": "This DN Status Is Not Pre Order"})

class DnOrderReleaseViewSet(viewsets.ModelViewSet):
"""
Handles the release of orders. This class is responsible for processing orders that are ready to be released from the warehouse, including updating stock levels, handling back orders, and ensuring that all warehouse data interactions are correctly implemented and optimized for performance.
"""
"""
retrieve:
Response a data list(get)
Expand Down

0 comments on commit 705f155

Please sign in to comment.