InvenTree/InvenTree/part/fixtures/bom.yaml
Oliver Walters 911727f7b7 Update test fixtures
- Can't assume that pk values will be assigned sensibly!
- Need to hard-code them in
2020-09-02 19:47:07 +10:00

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