mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Fix API endpoints for so-allocation detail
This commit is contained in:
parent
0b7811b7e0
commit
b8b4c60c43
@ -752,8 +752,10 @@ order_api_urls = [
|
|||||||
])),
|
])),
|
||||||
|
|
||||||
# API endpoints for purchase order line items
|
# API endpoints for purchase order line items
|
||||||
url(r'^po-line/(?P<pk>\d+)/$', POLineItemDetail.as_view(), name='api-po-line-detail'),
|
url(r'^po-line/', include([
|
||||||
url(r'^po-line/$', POLineItemList.as_view(), name='api-po-line-list'),
|
url(r'^(?P<pk>\d+)/$', POLineItemDetail.as_view(), name='api-po-line-detail'),
|
||||||
|
url(r'^.*$', POLineItemList.as_view(), name='api-po-line-list'),
|
||||||
|
])),
|
||||||
|
|
||||||
# API endpoints for sales ordesr
|
# API endpoints for sales ordesr
|
||||||
url(r'^so/', include([
|
url(r'^so/', include([
|
||||||
@ -773,9 +775,8 @@ order_api_urls = [
|
|||||||
])),
|
])),
|
||||||
|
|
||||||
# API endpoints for sales order allocations
|
# API endpoints for sales order allocations
|
||||||
url(r'^so-allocation', include([
|
url(r'^so-allocation/', include([
|
||||||
|
url(r'^(?P<pk>\d+)/$', SOAllocationDetail.as_view(), name='api-so-allocation-detail'),
|
||||||
# List all sales order allocations
|
|
||||||
url(r'^.*$', SOAllocationList.as_view(), name='api-so-allocation-list'),
|
url(r'^.*$', SOAllocationList.as_view(), name='api-so-allocation-list'),
|
||||||
])),
|
])),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user