From 01020f5de6485f6ac3d6d4383024447f8753849d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 27 Dec 2024 23:23:47 +0000 Subject: [PATCH] Add custom status keys to some models --- inventree_data.json | 232 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 188 insertions(+), 44 deletions(-) diff --git a/inventree_data.json b/inventree_data.json index eb40cbd..e05b91b 100644 --- a/inventree_data.json +++ b/inventree_data.json @@ -7506,6 +7506,22 @@ ] } }, + { + "model": "common.inventreecustomuserstatemodel", + "pk": 4, + "fields": { + "reference_status": "BuildStatus", + "logical_key": 25, + "key": 125, + "name": "APPROVAL", + "label": "Pending Approval", + "color": "dark", + "model": [ + "build", + "build" + ] + } + }, { "model": "company.company", "pk": 1, @@ -47630,7 +47646,7 @@ "model": "part.partpricing", "pk": 425, "fields": { - "updated": "2024-08-08T06:55:23.435Z", + "updated": "2024-12-27T23:14:14.045Z", "currency": "USD", "scheduled_for_update": false, "part": 88, @@ -49700,7 +49716,7 @@ "model": "part.partpricing", "pk": 471, "fields": { - "updated": "2024-08-08T06:55:24.007Z", + "updated": "2024-12-27T23:14:14.036Z", "currency": "USD", "scheduled_for_update": false, "part": 81, @@ -49838,7 +49854,7 @@ "model": "part.partpricing", "pk": 474, "fields": { - "updated": "2024-08-08T06:55:22.152Z", + "updated": "2024-12-27T23:14:14.033Z", "currency": "USD", "scheduled_for_update": false, "part": 52, @@ -50988,7 +51004,7 @@ "model": "part.partpricing", "pk": 499, "fields": { - "updated": "2024-10-17T08:39:31.468Z", + "updated": "2024-12-27T23:14:14.031Z", "currency": "USD", "scheduled_for_update": false, "part": 74, @@ -51172,7 +51188,7 @@ "model": "part.partpricing", "pk": 503, "fields": { - "updated": "2024-07-27T05:08:26.078Z", + "updated": "2024-12-27T23:14:14.038Z", "currency": "USD", "scheduled_for_update": false, "part": 83, @@ -51264,7 +51280,7 @@ "model": "part.partpricing", "pk": 505, "fields": { - "updated": "2024-07-27T05:07:09.124Z", + "updated": "2024-12-27T23:14:14.040Z", "currency": "USD", "scheduled_for_update": false, "part": 85, @@ -52184,7 +52200,7 @@ "model": "part.partpricing", "pk": 525, "fields": { - "updated": "2024-08-08T06:55:20.601Z", + "updated": "2024-12-27T23:14:14.042Z", "currency": "USD", "scheduled_for_update": false, "part": 108, @@ -115141,6 +115157,134 @@ } } }, + { + "model": "stock.stockitemtracking", + "pk": 1392, + "fields": { + "tracking_type": 5, + "item": 1225, + "date": "2024-12-27T23:10:58.558Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1393, + "fields": { + "tracking_type": 5, + "item": 220, + "date": "2024-12-27T23:11:06.959Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1394, + "fields": { + "tracking_type": 5, + "item": 994, + "date": "2024-12-27T23:11:12.531Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1395, + "fields": { + "tracking_type": 5, + "item": 1241, + "date": "2024-12-27T23:11:16.624Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1396, + "fields": { + "tracking_type": 5, + "item": 717, + "date": "2024-12-27T23:11:23.911Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1397, + "fields": { + "tracking_type": 5, + "item": 342, + "date": "2024-12-27T23:11:28.340Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1398, + "fields": { + "tracking_type": 5, + "item": 1073, + "date": "2024-12-27T23:11:33.039Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, + { + "model": "stock.stockitemtracking", + "pk": 1399, + "fields": { + "tracking_type": 5, + "item": 1089, + "date": "2024-12-27T23:11:36.384Z", + "notes": "", + "user": [ + "admin" + ], + "deltas": { + "status": 50 + } + } + }, { "model": "stock.stockitem", "pk": 2, @@ -122795,11 +122939,11 @@ "model": "stock.stockitem", "pk": 220, "fields": { - "metadata": null, + "metadata": {}, "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2021-11-15T00:00:00Z", + "updated": "2024-12-27T23:11:07.001Z", "parent": null, "part": 85, "supplier_part": 197, @@ -122822,11 +122966,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": true, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": "7.500000", "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 198, @@ -127883,11 +128027,11 @@ "model": "stock.stockitem", "pk": 342, "fields": { - "metadata": null, + "metadata": {}, "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2022-04-29T00:00:00Z", + "updated": "2024-12-27T23:11:28.382Z", "parent": null, "part": 88, "supplier_part": null, @@ -127910,11 +128054,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": false, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 319, @@ -140673,7 +140817,7 @@ "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2024-07-27T05:11:23.060Z", + "updated": "2024-12-27T23:11:23.954Z", "parent": null, "part": 52, "supplier_part": 694, @@ -140698,11 +140842,11 @@ ], "review_needed": false, "delete_on_deplete": true, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": "0.285040", "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 621, @@ -152317,11 +152461,11 @@ "model": "stock.stockitem", "pk": 994, "fields": { - "metadata": null, + "metadata": {}, "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2022-09-07T00:00:00Z", + "updated": "2024-12-27T23:11:12.575Z", "parent": 231, "part": 108, "supplier_part": null, @@ -152344,11 +152488,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": true, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 4, "rght": 5, "tree_id": 208, @@ -155639,11 +155783,11 @@ "model": "stock.stockitem", "pk": 1073, "fields": { - "metadata": null, + "metadata": {}, "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2022-11-12T00:00:00Z", + "updated": "2024-12-27T23:11:33.081Z", "parent": null, "part": 81, "supplier_part": null, @@ -155666,11 +155810,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": false, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 975, @@ -156311,11 +156455,11 @@ "model": "stock.stockitem", "pk": 1089, "fields": { - "metadata": null, + "metadata": {}, "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2022-11-12T00:00:00Z", + "updated": "2024-12-27T23:11:36.425Z", "parent": null, "part": 81, "supplier_part": null, @@ -156338,11 +156482,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": false, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 991, @@ -162029,7 +162173,7 @@ "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2024-07-27T05:08:25.650Z", + "updated": "2024-12-27T23:10:58.563Z", "parent": null, "part": 83, "supplier_part": null, @@ -162052,11 +162196,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": true, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 1120, @@ -162703,7 +162847,7 @@ "notes": null, "barcode_data": "", "barcode_hash": "", - "updated": "2024-10-17T08:29:29.668Z", + "updated": "2024-12-27T23:11:16.666Z", "parent": null, "part": 74, "supplier_part": null, @@ -162726,11 +162870,11 @@ "stocktake_user": null, "review_needed": false, "delete_on_deplete": false, - "status": 10, + "status": 50, "purchase_price_currency": "USD", "purchase_price": null, "owner": null, - "status_custom_key": null, + "status_custom_key": 150, "lft": 1, "rght": 2, "tree_id": 1135, @@ -204359,7 +204503,7 @@ "model": "order.salesorder", "pk": 4, "fields": { - "metadata": null, + "metadata": {}, "reference_int": 4, "notes": "", "barcode_data": "", @@ -204380,11 +204524,11 @@ "address": null, "reference": "SO0004", "customer": 32, - "status": 10, + "status": 25, "customer_reference": "", "shipment_date": null, "shipped_by": null, - "status_custom_key": null + "status_custom_key": 125 } }, { @@ -205045,7 +205189,7 @@ "fields": { "metadata": {}, "reference_int": 13, - "notes": null, + "notes": "", "barcode_data": "", "barcode_hash": "", "total_price_currency": "USD", @@ -205070,7 +205214,7 @@ "issue_date": null, "complete_date": null, "destination": null, - "status_custom_key": null + "status_custom_key": 125 } }, { @@ -208163,7 +208307,7 @@ "fields": { "metadata": {}, "reference_int": 23, - "notes": null, + "notes": "", "barcode_data": "", "barcode_hash": "", "reference": "BO0023", @@ -208176,7 +208320,7 @@ "quantity": 10, "completed": 0, "status": 25, - "batch": "", + "batch": null, "creation_date": "2024-08-08", "target_date": null, "completion_date": null, @@ -208188,7 +208332,7 @@ "link": "", "priority": 0, "project_code": null, - "status_custom_key": null, + "status_custom_key": 125, "lft": 1, "rght": 2, "tree_id": 19,