forked from erp-dev/erp
fix: added merchant_id in models of shipment module
This commit is contained in:
@@ -25,7 +25,7 @@ from .views.products import ProductQuickViewSet
|
||||
from .views.parameters import StateParameterViewSet
|
||||
from .views.users import CreateUserWithProfileView
|
||||
from .views.mingdaoyun import MDYPlateOrderStagingViewSet
|
||||
from .views.shipment import SalesItemByPrintingOrderView, ShipmentCreateView
|
||||
from .views.shipment import SalesItemByPrintingOrderView, ShipmentCreateView, ShipmentExternalCreateView
|
||||
|
||||
# 创建 DRF Router for Stateflow
|
||||
stateflow_router = DefaultRouter()
|
||||
@@ -105,6 +105,11 @@ urlpatterns = [
|
||||
ShipmentCreateView.as_view(),
|
||||
name='shipment_create'
|
||||
),
|
||||
path(
|
||||
'shipment/shipments/external/',
|
||||
ShipmentExternalCreateView.as_view(),
|
||||
name='shipment_create_external'
|
||||
),
|
||||
path(
|
||||
'shipment/sales-items/by-printing-order/<int:printing_order_id>/',
|
||||
SalesItemByPrintingOrderView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user