From 13f8dff1e9b490ba5c2fa98845716f02146092cb Mon Sep 17 00:00:00 2001 From: Lukas <76838159+wolflu05@users.noreply.github.com> Date: Thu, 1 Feb 2024 16:05:45 +0100 Subject: [PATCH] Location type field for location bulk create object (#62) Added location type to stock location bulk create object --- inventree_bulk_plugin/bulkcreate_objects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inventree_bulk_plugin/bulkcreate_objects.py b/inventree_bulk_plugin/bulkcreate_objects.py index 40cd116..1e21f80 100644 --- a/inventree_bulk_plugin/bulkcreate_objects.py +++ b/inventree_bulk_plugin/bulkcreate_objects.py @@ -242,6 +242,7 @@ class StockLocationBulkCreateObject(BulkCreateObject[StockLocation]): "structural": FieldDefinition("Structural", field_type="boolean"), "external": FieldDefinition("External", field_type="boolean"), "custom_icon": FieldDefinition("Icon"), + "location_type": FieldDefinition("Location type", field_type="model", model="stock.StockLocationType"), }