2
0
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:
Oliver Walters
2020-05-17 22:03:55 +10:00
parent 5f318799c1
commit 6cb017bbfd
4 changed files with 117 additions and 1 deletions

View File

@ -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