2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Fixed a few modeltype links (#5969)

This commit is contained in:
Matthias Mair 2023-11-22 23:18:50 +01:00 committed by GitHub
parent a9d5b24702
commit 7dec1fcb25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,15 +54,15 @@ export const ModelInformationDict: ModelDictory = {
stockitem: { stockitem: {
label: t`Stock Item`, label: t`Stock Item`,
label_multiple: t`Stock Items`, label_multiple: t`Stock Items`,
url_overview: '/stockitem', url_overview: '/stock/item',
url_detail: '/stockitem/:pk/', url_detail: '/stock/item/:pk/',
api_endpoint: ApiPaths.stock_item_list api_endpoint: ApiPaths.stock_item_list
}, },
stocklocation: { stocklocation: {
label: t`Stock Location`, label: t`Stock Location`,
label_multiple: t`Stock Locations`, label_multiple: t`Stock Locations`,
url_overview: '/stocklocation', url_overview: '/stock/location',
url_detail: '/stocklocation/:pk/', url_detail: '/stock/location/:pk/',
api_endpoint: ApiPaths.stock_location_list api_endpoint: ApiPaths.stock_location_list
}, },
stockhistory: { stockhistory: {
@ -94,8 +94,8 @@ export const ModelInformationDict: ModelDictory = {
purchaseorder: { purchaseorder: {
label: t`Purchase Order`, label: t`Purchase Order`,
label_multiple: t`Purchase Orders`, label_multiple: t`Purchase Orders`,
url_overview: '/purchaseorder', url_overview: '/purchasing/purchase-order',
url_detail: '/purchaseorder/:pk/', url_detail: '/purchasing/purchase-order/:pk/',
api_endpoint: ApiPaths.purchase_order_list api_endpoint: ApiPaths.purchase_order_list
}, },
purchaseorderline: { purchaseorderline: {
@ -106,8 +106,8 @@ export const ModelInformationDict: ModelDictory = {
salesorder: { salesorder: {
label: t`Sales Order`, label: t`Sales Order`,
label_multiple: t`Sales Orders`, label_multiple: t`Sales Orders`,
url_overview: '/salesorder', url_overview: '/sales/sales-order',
url_detail: '/salesorder/:pk/', url_detail: '/sales/sales-order/:pk/',
api_endpoint: ApiPaths.sales_order_list api_endpoint: ApiPaths.sales_order_list
}, },
salesordershipment: { salesordershipment: {
@ -120,8 +120,8 @@ export const ModelInformationDict: ModelDictory = {
returnorder: { returnorder: {
label: t`Return Order`, label: t`Return Order`,
label_multiple: t`Return Orders`, label_multiple: t`Return Orders`,
url_overview: '/returnorder', url_overview: '/sales/return-order',
url_detail: '/returnorder/:pk/', url_detail: '/sales/return-order/:pk/',
api_endpoint: ApiPaths.return_order_list api_endpoint: ApiPaths.return_order_list
}, },
address: { address: {