InvenTree/InvenTree/part/fixtures/bom.yaml
Oliver Walters c0e3007e4f Add some BomItem tests
- Add a bom fixture
2019-05-04 23:50:24 +10:00

29 lines
422 B
YAML

# Construct a BOM for item 100 'Bob'
# 10 x M2x4 LPHS
- model: part.bomitem
fields:
part: 100
sub_part: 1
quantity: 10
# 40 x R_2K2_0805
- model: part.bomitem
fields:
part: 100
sub_part: 3
quantity: 40
# 25 x C_22N_0805
- model: part.bomitem
fields:
part: 100
sub_part: 5
quantity: 25
# 3 x Orphan
- model: part.bomitem
fields:
part: 100
sub_part: 50
quantity: 3