mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update fixture for part model to match MPTT requirements
This commit is contained in:
parent
0a78432a0f
commit
0652579312
@ -7,6 +7,10 @@
|
||||
description: 'M2x4 low profile head screw'
|
||||
category: 8
|
||||
link: www.acme.com/parts/m2x4lphs
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
- model: part.part
|
||||
pk: 2
|
||||
@ -14,6 +18,10 @@
|
||||
name: 'M3x12 SHCS'
|
||||
description: 'M3x12 socket head cap screw'
|
||||
category: 8
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
# Create some resistors
|
||||
|
||||
@ -23,6 +31,11 @@
|
||||
name: 'R_2K2_0805'
|
||||
description: '2.2kOhm resistor in 0805 package'
|
||||
category: 2
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
|
||||
- model: part.part
|
||||
fields:
|
||||
@ -30,6 +43,10 @@
|
||||
description: '4.7kOhm resistor in 0603 package'
|
||||
category: 2
|
||||
default_location: 2 # Home/Bathroom
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
# Create some capacitors
|
||||
- model: part.part
|
||||
@ -37,6 +54,10 @@
|
||||
name: 'C_22N_0805'
|
||||
description: '22nF capacitor in 0805 package'
|
||||
category: 3
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
- model: part.part
|
||||
pk: 25
|
||||
@ -45,6 +66,10 @@
|
||||
description: 'A watchamacallit'
|
||||
category: 7
|
||||
trackable: true
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
- model: part.part
|
||||
pk: 50
|
||||
@ -52,6 +77,10 @@
|
||||
name: 'Orphan'
|
||||
description: 'A part without a category'
|
||||
category: null
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
|
||||
# A part that can be made from other parts
|
||||
- model: part.part
|
||||
@ -64,4 +93,8 @@
|
||||
category: 7
|
||||
active: False
|
||||
IPN: BOB
|
||||
revision: A2
|
||||
revision: A2
|
||||
tree_id: 0
|
||||
level: 0
|
||||
lft: 0
|
||||
rght: 0
|
Loading…
Reference in New Issue
Block a user