From 30eb44e74eb43bda6d060e74f7defc24b9e56048 Mon Sep 17 00:00:00 2001 From: eeintech Date: Wed, 27 Apr 2022 18:48:29 -0400 Subject: [PATCH] Added global settings for part and category --- docs/settings/global.md | 70 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 3 deletions(-) diff --git a/docs/settings/global.md b/docs/settings/global.md index 78548fb..9eb51a0 100644 --- a/docs/settings/global.md +++ b/docs/settings/global.md @@ -72,15 +72,79 @@ Configuration of report generation ### Parts -Configuration of Part options +#### Main Settings + +| Setting | Type | Description | Default | +| --- | --- | --- | --- | +| IPN Regex | String | Regular expression pattern for matching Part IPN | *blank* | +| Allow Duplicate IPN | Boolean | Allow multiple parts to share the same IPN | True | +| Allow Editing IPN | Boolean | Allow changing the IPN value while editing a part | True | +| Part Name Display Format | String | Format to display the part name | {% raw %}`{{ part.id if part.id }}{{ ' | ' if part.id }}{{ part.name }}{{ ' | ' if part.revision }}{{ part.revision if part.revision }}`{% endraw %} | +| Show Price History | Boolean | Display historical pricing for Part | False | +| Show Price in Forms | Boolean | Display part price in some forms | True | +| Show Price in BOM | Boolean | Include pricing information in BOM tables | True | +| Show related parts | Boolean | Display related parts for a part | True | +| Create initial stock | Boolean | Create initial stock on part creation | True | + +#### Creation Settings + +| Setting | Type | Description | Default | +| --- | --- | --- | --- | +| Template | Boolean | Parts are templates by default | False | +| Assembly | Boolean | Parts can be assembled from other components by default | False | +| Component | Boolean | Parts can be used as sub-components by default | True | +| Trackable | Boolean | Parts are trackable by default | False | +| Purchaseable | Boolean | Parts are purchaseable by default | True | +| Salable | Boolean | Parts are salable by default | False | +| Virtual | Boolean | Parts are virtual by default | False | + +#### Copy Settings + +| Setting | Type | Description | Default | +| --- | --- | --- | --- | +| Copy Part BOM Data | Boolean | Copy BOM data by default when duplicating a part | True | +| Copy Part Parameter Data | Boolean | Copy parameter data by default when duplicating a part | True | +| Copy Part Test Data | Boolean | Copy test data by default when duplicating a part | True | +| Copy Category Parameter Templates | Boolean | Copy category parameter templates when creating a part | True | + +#### Internal Price Settings + +| Setting | Type | Description | Default | +| --- | --- | --- | --- | +| Internal Prices | Boolean | Enable internal prices for parts | False | +| Internal Price as BOM-Price | Boolean | Use the internal price (if set) in BOM-price calculations | False | + +#### Part Import Setting + +This section of the part settings allows staff users to: + +- import parts to InvenTree clicking the Import Part button +- enable the ["Import Parts" tab in the part category view](../part/part.md#part-import). + +| Setting | Type | Description | Default | +| --- | --- | --- | --- | +| Show Import in Views | Boolean | Display the import wizard in some part views | True | + +#### Part Parameter Templates + +Refer to the section describing [how to create part parameter templates](../part/parameter.md#create-template). ### Categories -Configuration of Part Category options +In this section of the settings, staff users can set a list of parameters associated to a part category. + +To add a parameter to a part category: + +1. select the category in the dropdown list +2. click the New Parameter button on the top right +3. fill out the "Create Category Parameter Template" form +4. click the Submit button. + +After a list of parameters is added to a part category and upon creation of a new part in this category, this list of parameters will be added by default to the new part. ### Stock -Configuration of Stock Item options +Configuration of stock item options | Setting | Type | Description | Default | | --- | --- | --- | --- |