1
0
forked from erp-dev/erp

feat: shipment customer aou

This commit is contained in:
2026-03-30 22:03:14 +08:00
parent 38f40644a3
commit aff10b8925
7 changed files with 690 additions and 6 deletions

View File

@@ -33,8 +33,10 @@ from .views.parameters import StateParameterViewSet
from .views.users import CreateUserWithProfileView
from .views.mingdaoyun import MDYPlateOrderStagingViewSet
from .views.shipment import (
SalesItemByCustomerView,
SalesItemByPrintingOrderView,
SalesItemCreateView,
ShipmentSalesItemCustomerListView,
ShipmentListCreateView,
ShipmentDetailView,
ShipmentExternalCreateView,
@@ -305,6 +307,16 @@ urlpatterns = [
ShipmentExternalCreateView.as_view(),
name="shipment_create_external",
),
path(
"shipment/sales-items/customers/",
ShipmentSalesItemCustomerListView.as_view(),
name="sales_item_customers",
),
path(
"shipment/sales-items/by-customer/<int:customer_id>/",
SalesItemByCustomerView.as_view(),
name="sales_items_by_customer",
),
path(
"shipment/sales-items/by-printing-order/<int:printing_order_id>/",
SalesItemByPrintingOrderView.as_view(),