2
0
mirror of https://github.com/inventree/demo-dataset.git synced 2026-02-27 14:40:45 +00:00

Add build order (#103)

- More fixture data for testing
This commit is contained in:
Oliver
2026-02-22 19:28:16 +11:00
committed by GitHub
parent 3236238333
commit b3ddef4b9d

View File

@@ -4199,6 +4199,106 @@
"consumed": "130.00000"
}
},
{
"model": "build.buildline",
"pk": 421,
"fields": {
"build": 27,
"bom_item": 352,
"quantity": "2.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 422,
"fields": {
"build": 27,
"bom_item": 354,
"quantity": "1.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 423,
"fields": {
"build": 27,
"bom_item": 353,
"quantity": "3.45000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 424,
"fields": {
"build": 27,
"bom_item": 348,
"quantity": "1.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 425,
"fields": {
"build": 27,
"bom_item": 349,
"quantity": "1.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 426,
"fields": {
"build": 27,
"bom_item": 350,
"quantity": "1.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 427,
"fields": {
"build": 27,
"bom_item": 351,
"quantity": "1.00000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 428,
"fields": {
"build": 27,
"bom_item": 358,
"quantity": "2.25000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 429,
"fields": {
"build": 27,
"bom_item": 357,
"quantity": "13.55000",
"consumed": "0.00000"
}
},
{
"model": "build.buildline",
"pk": 430,
"fields": {
"build": 27,
"bom_item": 359,
"quantity": "25.25000",
"consumed": "0.00000"
}
},
{
"model": "build.builditem",
"pk": 11,
@@ -8286,6 +8386,22 @@
"key": "MACHINE_PING_ENABLED"
}
},
{
"model": "common.inventreesetting",
"pk": 224,
"fields": {
"value": "False",
"key": "STOCK_TRACKING_DELETE_OLD_ENTRIES"
}
},
{
"model": "common.inventreesetting",
"pk": 225,
"fields": {
"value": "365",
"key": "STOCK_TRACKING_DELETE_DAYS"
}
},
{
"model": "common.customunit",
"pk": 1,
@@ -90694,7 +90810,7 @@
"pk": 1,
"fields": {
"password": "pbkdf2_sha256$1000000$CWvgH2EOSzLLJgYY64YHjS$S5ppC9xcNnjL5GLQQh3oTTwahpM4yYK1HyOvXc0pyiE=",
"last_login": "2025-11-26T12:50:11.524Z",
"last_login": "2026-02-22T08:18:19.073Z",
"is_superuser": true,
"username": "admin",
"first_name": "Adam",
@@ -90712,7 +90828,7 @@
"pk": 2,
"fields": {
"password": "pbkdf2_sha256$1000000$qayzZXXDHYYJR3t6xvOjrB$NdWS0N7AyZ4zAJ6XFB7cUWesvIYrqTHXXQkl63Pfjas=",
"last_login": "2025-11-19T10:57:23.804Z",
"last_login": "2026-02-22T08:15:25.795Z",
"is_superuser": false,
"username": "reader",
"first_name": "Ronald",
@@ -90756,7 +90872,7 @@
"pk": 4,
"fields": {
"password": "pbkdf2_sha256$1000000$2S32PX8knSdshBLswpEL6c$k/t8K0bcPMizleBiseuN5aXHQd0vlLvOETx/A6B4TJc=",
"last_login": "2025-11-19T10:57:20.488Z",
"last_login": "2026-02-22T08:15:22.154Z",
"is_superuser": false,
"username": "allaccess",
"first_name": "Ally",
@@ -90778,7 +90894,7 @@
"pk": 5,
"fields": {
"password": "pbkdf2_sha256$1000000$VPpom6RyqOIb2Y10t2QwIK$sZFN7bUUU5AQSm4DiOLwehjSUjev4mH62w1ErZnyTX8=",
"last_login": "2025-11-19T10:57:25.077Z",
"last_login": "2026-02-22T08:15:30.464Z",
"is_superuser": false,
"username": "steven",
"first_name": "Steven",
@@ -119131,6 +119247,46 @@
}
}
},
{
"model": "stock.stockitemtracking",
"pk": 1439,
"fields": {
"tracking_type": 50,
"item": 1384,
"part": 113,
"date": "2026-02-22T08:19:02.309Z",
"notes": "",
"user": [
"admin"
],
"deltas": {
"batch": "2026-2-22",
"serial": "555",
"location": 1,
"quantity": 1,
"buildorder": 27
}
}
},
{
"model": "stock.stockitemtracking",
"pk": 1440,
"fields": {
"tracking_type": 1,
"item": 1385,
"part": 110,
"date": "2026-02-22T08:19:50.933Z",
"notes": "",
"user": [
"admin"
],
"deltas": {
"status": 10,
"location": 4,
"quantity": 1.0
}
}
},
{
"model": "stock.stockitem",
"pk": 2,
@@ -172699,6 +172855,90 @@
"level": 1
}
},
{
"model": "stock.stockitem",
"pk": 1384,
"fields": {
"metadata": null,
"notes": null,
"barcode_data": "",
"barcode_hash": "",
"updated": "2026-02-22T08:19:02.302Z",
"parent": null,
"part": 113,
"supplier_part": null,
"location": 1,
"packaging": null,
"belongs_to": null,
"customer": null,
"serial": "555",
"serial_int": 555,
"link": "",
"batch": "2026-2-22",
"quantity": "1.00000",
"build": 27,
"consumed_by": null,
"is_building": true,
"purchase_order": null,
"sales_order": null,
"expiry_date": null,
"stocktake_date": null,
"stocktake_user": null,
"review_needed": false,
"delete_on_deplete": true,
"status": 10,
"purchase_price_currency": "USD",
"purchase_price": null,
"owner": null,
"status_custom_key": null,
"lft": 1,
"rght": 2,
"tree_id": 1247,
"level": 0
}
},
{
"model": "stock.stockitem",
"pk": 1385,
"fields": {
"metadata": null,
"notes": null,
"barcode_data": "",
"barcode_hash": "",
"updated": "2026-02-22T08:19:50.926Z",
"parent": null,
"part": 110,
"supplier_part": null,
"location": 4,
"packaging": null,
"belongs_to": null,
"customer": null,
"serial": "555",
"serial_int": 555,
"link": "",
"batch": "2026-2-22",
"quantity": "1.00000",
"build": null,
"consumed_by": null,
"is_building": false,
"purchase_order": null,
"sales_order": null,
"expiry_date": null,
"stocktake_date": null,
"stocktake_user": null,
"review_needed": false,
"delete_on_deplete": true,
"status": 10,
"purchase_price_currency": "USD",
"purchase_price": null,
"owner": null,
"status_custom_key": null,
"lft": 1,
"rght": 2,
"tree_id": 1248,
"level": 0
}
},
{
"model": "part.partstar",
"pk": 1,
@@ -219711,6 +219951,50 @@
]
}
},
{
"model": "common.inventreeusersetting",
"pk": 306,
"fields": {
"value": "False",
"key": "BARCODE_IN_FORM_FIELDS",
"user": [
"admin"
]
}
},
{
"model": "common.inventreeusersetting",
"pk": 307,
"fields": {
"value": "False",
"key": "BARCODE_IN_FORM_FIELDS",
"user": [
"allaccess"
]
}
},
{
"model": "common.inventreeusersetting",
"pk": 308,
"fields": {
"value": "False",
"key": "BARCODE_IN_FORM_FIELDS",
"user": [
"reader"
]
}
},
{
"model": "common.inventreeusersetting",
"pk": 309,
"fields": {
"value": "False",
"key": "BARCODE_IN_FORM_FIELDS",
"user": [
"steven"
]
}
},
{
"model": "build.build",
"pk": 1,
@@ -220762,5 +221046,45 @@
"tree_id": 22,
"level": 0
}
},
{
"model": "build.build",
"pk": 27,
"fields": {
"metadata": {},
"reference_int": 27,
"notes": null,
"barcode_data": "",
"barcode_hash": "",
"reference": "BO0027",
"title": "Single quantity output",
"parent": null,
"part": 113,
"sales_order": null,
"take_from": 1,
"external": false,
"destination": 1,
"quantity": 1,
"completed": 0,
"status": 20,
"batch": "2026-2-22",
"creation_date": "2026-02-22",
"start_date": "2026-05-13",
"target_date": "2026-09-17",
"completion_date": null,
"completed_by": null,
"issued_by": [
"admin"
],
"responsible": null,
"link": "",
"priority": 0,
"project_code": 4,
"status_custom_key": null,
"lft": 1,
"rght": 2,
"tree_id": 23,
"level": 0
}
}
]