mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 19:50:59 +00:00
Add functions to test if a stock item has passed all tests
This commit is contained in:
@ -28,4 +28,41 @@
|
||||
test: "Temperature Test"
|
||||
result: True
|
||||
date: 2020-05-17
|
||||
notes: 'Passed temperature test by making it cooler'
|
||||
notes: 'Passed temperature test by making it cooler'
|
||||
|
||||
- model: stock.stockitemtestresult
|
||||
fields:
|
||||
stock_item: 522
|
||||
test: 'applypaint'
|
||||
result: True
|
||||
date: 2020-05-17
|
||||
|
||||
- model: stock.stockitemtestresult
|
||||
fields:
|
||||
stock_item: 522
|
||||
test: 'applypaint'
|
||||
result: False
|
||||
date: 2020-05-18
|
||||
|
||||
- model: stock.stockitemtestresult
|
||||
fields:
|
||||
stock_item: 522
|
||||
test: 'Attach Legs'
|
||||
result: True
|
||||
date: 2020-05-17
|
||||
|
||||
- model: stock.stockitemtestresult
|
||||
fields:
|
||||
stock_item: 522
|
||||
test: 'Check that chair is GreEn '
|
||||
result: True
|
||||
date: 2020-05-17
|
||||
|
||||
- model: stock.stockitemtestresult
|
||||
pk: 12345
|
||||
fields:
|
||||
stock_item: 522
|
||||
test: 'test strength of chair'
|
||||
result: False
|
||||
value: 100kg
|
||||
date: 2020-05-17
|
Reference in New Issue
Block a user