From b4e354004d38d2dc796203b829f4e2a85c5d8793 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 27 Jul 2022 14:50:33 +1000 Subject: [PATCH] Change some default settings (#30) * Change some default settings * Fix github workflow --- .github/workflows/import_data.yaml | 1 + inventree_data.json | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/import_data.yaml b/.github/workflows/import_data.yaml index 3470b16..b069919 100644 --- a/.github/workflows/import_data.yaml +++ b/.github/workflows/import_data.yaml @@ -10,6 +10,7 @@ jobs: INVENTREE_DB_ENGINE: sqlite3 INVENTREE_DB_NAME: inventree_db.sqlite3 INVENTREE_MEDIA_ROOT: $GITHUB_WORKSPACE/path/to/media + INVENTREE_STATIC_ROOT: $GITHUB_WORKSPACE/path/to/static steps: - name: Checkout Code diff --git a/inventree_data.json b/inventree_data.json index ce921ac..a899d18 100644 --- a/inventree_data.json +++ b/inventree_data.json @@ -2261,7 +2261,7 @@ "model": "common.inventreesetting", "pk": 44, "fields": { - "value": "True", + "value": "False", "key": "PART_SHOW_PRICE_IN_FORMS" } }, @@ -2341,7 +2341,7 @@ "model": "common.inventreesetting", "pk": 54, "fields": { - "value": "True", + "value": "False", "key": "PART_SHOW_PRICE_IN_BOM" } }, @@ -2521,6 +2521,14 @@ "key": "INVENTREE_REQUIRE_CONFIRM" } }, + { + "model": "common.inventreesetting", + "pk": 78, + "fields": { + "value": "1", + "key": "INVENTREE_DOWNLOAD_IMAGE_MAX_SIZE" + } + }, { "model": "common.inventreeusersetting", "pk": 1, @@ -27171,7 +27179,7 @@ "price_currency": "USD", "price": "0.0101", "part": 85, - "updated": "2022-07-15T04:35:18.000Z" + "updated": "2022-07-15T04:35:18Z" } }, { @@ -33507,7 +33515,7 @@ "price_currency": "CAD", "price": "0.0212", "part": 967, - "updated": "2022-07-15T04:36:16.000Z" + "updated": "2022-07-15T04:36:16Z" } }, { @@ -117661,7 +117669,7 @@ "pk": 1, "fields": { "password": "pbkdf2_sha256$260000$NNqALp0c36DPuISI5Q6iM3$+ILiuXGdDbEo4PXR5myUO/zHaNXhzHMPdtN2lZaKrg8=", - "last_login": "2022-07-14T13:32:20.902Z", + "last_login": "2022-07-27T04:34:34.529Z", "is_superuser": true, "username": "admin", "first_name": "",