mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
911727f7b7
- Can't assume that pk values will be assigned sensibly! - Need to hard-code them in
33 lines
454 B
YAML
33 lines
454 B
YAML
# Construct a BOM for item 100 'Bob'
|
|
|
|
# 10 x M2x4 LPHS
|
|
- model: part.bomitem
|
|
pk: 1
|
|
fields:
|
|
part: 100
|
|
sub_part: 1
|
|
quantity: 10
|
|
|
|
# 40 x R_2K2_0805
|
|
- model: part.bomitem
|
|
pk: 2
|
|
fields:
|
|
part: 100
|
|
sub_part: 3
|
|
quantity: 40
|
|
|
|
# 25 x C_22N_0805
|
|
- model: part.bomitem
|
|
pk: 3
|
|
fields:
|
|
part: 100
|
|
sub_part: 5
|
|
quantity: 25
|
|
|
|
# 3 x Orphan
|
|
- model: part.bomitem
|
|
pk: 4
|
|
fields:
|
|
part: 100
|
|
sub_part: 50
|
|
quantity: 3 |