mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
FIxtures for build testing
This commit is contained in:
parent
82561607a6
commit
80771beee9
21
InvenTree/build/fixtures/build.yaml
Normal file
21
InvenTree/build/fixtures/build.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
# Construct build objects
|
||||
|
||||
- model: build.build
|
||||
fields:
|
||||
part: 25
|
||||
batch: 'B1'
|
||||
title: 'Building 7 parts'
|
||||
quantity: 7
|
||||
notes: 'Some simple notes'
|
||||
status: 10 # PENDING
|
||||
creation_date: '2019-03-16'
|
||||
|
||||
- model: build.build
|
||||
fields:
|
||||
part: 50
|
||||
title: 'Making things'
|
||||
batch: 'B2'
|
||||
status: 40 # COMPLETE
|
||||
quantity: 21
|
||||
notes: 'Some more simple notes'
|
||||
creation_date: '2019-03-16'
|
Loading…
Reference in New Issue
Block a user