From 0a94ccb4e2368b94ec01c49741bd1644f4558226 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 20 Jan 2025 22:14:10 +1100 Subject: [PATCH] Added start dates (#87) * Added start dates * Added INVENTREE_SITE_URL * Fix other workflow --- .github/workflows/import_data.yaml | 2 ++ inventree_data.json | 40 ++++++++++++++++++++++++------ 2 files changed, 34 insertions(+), 8 deletions(-) diff --git a/.github/workflows/import_data.yaml b/.github/workflows/import_data.yaml index aded3b8..2ba829e 100644 --- a/.github/workflows/import_data.yaml +++ b/.github/workflows/import_data.yaml @@ -7,6 +7,7 @@ jobs: runs-on: ubuntu-latest env: + INVENTREE_SITE_URL: http://localhost:8000 INVENTREE_DB_ENGINE: sqlite3 INVENTREE_DB_NAME: inventree_db_stable.sqlite3 INVENTREE_BACKUP_DIR: $GITHUB_WORKSPACE/path/to/backup @@ -37,6 +38,7 @@ jobs: runs-on: ubuntu-latest env: + INVENTREE_SITE_URL: http://localhost:8000 INVENTREE_DB_ENGINE: sqlite3 INVENTREE_DB_NAME: inventree_db_latest.sqlite3 INVENTREE_BACKUP_DIR: $GITHUB_WORKSPACE/path/to/backup diff --git a/inventree_data.json b/inventree_data.json index e05b91b..d45b748 100644 --- a/inventree_data.json +++ b/inventree_data.json @@ -89069,7 +89069,7 @@ "pk": 1, "fields": { "password": "pbkdf2_sha256$600000$eW6hr1msXY3U1vkqy3K4wd$/egntyTaLBCUPnM1nM2LIbbDGjKfccvIOgexovlFKjo=", - "last_login": "2024-12-27T09:31:45.105Z", + "last_login": "2025-01-20T10:49:09.565Z", "is_superuser": true, "username": "admin", "first_name": "", @@ -207457,7 +207457,7 @@ "model": "build.build", "pk": 1, "fields": { - "metadata": null, + "metadata": {}, "reference_int": 1, "notes": "", "barcode_data": "", @@ -207474,7 +207474,8 @@ "status": 20, "batch": "", "creation_date": "2021-11-10", - "target_date": null, + "start_date": "2025-02-14", + "target_date": "2025-02-28", "completion_date": null, "completed_by": null, "issued_by": [ @@ -207512,6 +207513,7 @@ "status": 30, "batch": "", "creation_date": "2022-04-21", + "start_date": null, "target_date": "2022-07-27", "completion_date": "2024-08-05", "completed_by": [ @@ -207552,6 +207554,7 @@ "status": 20, "batch": "", "creation_date": "2022-04-27", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207590,6 +207593,7 @@ "status": 20, "batch": "", "creation_date": "2022-04-27", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207628,6 +207632,7 @@ "status": 20, "batch": "", "creation_date": "2022-04-29", + "start_date": null, "target_date": "2022-09-30", "completion_date": null, "completed_by": null, @@ -207666,6 +207671,7 @@ "status": 40, "batch": "", "creation_date": "2022-04-29", + "start_date": null, "target_date": null, "completion_date": "2022-04-29", "completed_by": [ @@ -207706,6 +207712,7 @@ "status": 20, "batch": "", "creation_date": "2022-04-29", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207744,6 +207751,7 @@ "status": 40, "batch": "", "creation_date": "2022-04-29", + "start_date": null, "target_date": null, "completion_date": "2022-04-29", "completed_by": [ @@ -207784,6 +207792,7 @@ "status": 40, "batch": "", "creation_date": "2022-04-29", + "start_date": null, "target_date": null, "completion_date": "2022-04-29", "completed_by": [ @@ -207824,6 +207833,7 @@ "status": 20, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207862,6 +207872,7 @@ "status": 20, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207900,6 +207911,7 @@ "status": 40, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": "2022-05-25", "completed_by": [ @@ -207940,6 +207952,7 @@ "status": 10, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -207978,6 +207991,7 @@ "status": 10, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -208016,6 +208030,7 @@ "status": 40, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": "2022-05-25", "completed_by": [ @@ -208056,6 +208071,7 @@ "status": 10, "batch": "", "creation_date": "2022-05-25", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -208094,6 +208110,7 @@ "status": 25, "batch": "", "creation_date": "2024-08-05", + "start_date": null, "target_date": "2024-10-19", "completion_date": null, "completed_by": null, @@ -208132,6 +208149,7 @@ "status": 20, "batch": "", "creation_date": "2024-08-05", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -208170,7 +208188,8 @@ "status": 10, "batch": "", "creation_date": "2024-08-05", - "target_date": null, + "start_date": "2024-10-16", + "target_date": "2024-10-31", "completion_date": null, "completed_by": null, "issued_by": [ @@ -208208,6 +208227,7 @@ "status": 10, "batch": "", "creation_date": "2024-08-08", + "start_date": null, "target_date": null, "completion_date": null, "completed_by": null, @@ -208246,7 +208266,8 @@ "status": 20, "batch": "", "creation_date": "2024-08-08", - "target_date": null, + "start_date": "2024-11-21", + "target_date": "2024-12-26", "completion_date": null, "completed_by": null, "issued_by": [ @@ -208284,7 +208305,8 @@ "status": 20, "batch": "", "creation_date": "2024-08-08", - "target_date": null, + "start_date": "2025-01-01", + "target_date": "2025-01-22", "completion_date": null, "completed_by": null, "issued_by": [ @@ -208322,7 +208344,8 @@ "status": 25, "batch": null, "creation_date": "2024-08-08", - "target_date": null, + "start_date": "2025-01-23", + "target_date": "2025-01-30", "completion_date": null, "completed_by": null, "issued_by": [ @@ -208360,7 +208383,8 @@ "status": 20, "batch": "", "creation_date": "2024-08-08", - "target_date": null, + "start_date": "2025-02-06", + "target_date": "2025-02-27", "completion_date": null, "completed_by": null, "issued_by": [