From 49d567270b652d82db97aefced767305f3bcda28 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 11 Mar 2021 07:54:02 +0100 Subject: [PATCH] Update python.md --- docs/extend/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extend/python.md b/docs/extend/python.md index d9f2f5b..2b33dfe 100644 --- a/docs/extend/python.md +++ b/docs/extend/python.md @@ -137,7 +137,7 @@ Box13 = StockLocation.create(api, {'name':'Box 13','description':'red box','pare ## Now fill them with items Id1 = StockItem.create(api, { 'part': sofa.pk, 'quantity': 10, 'notes': 'new ones', 'location': Box12.pk, ‘status’:10 }) -Id2 = StockItem.create(api, { 'part': sofa.pk, 'quantity': 3, 'notes': 'new ones', 'location': Box13.pk, ‘status’:55 }) +Id2 = StockItem.create(api, { 'part': sofa.pk, 'quantity': 3, 'notes': 'old ones', 'location': Box13.pk, ‘status’:55 }) ``` Please recognize the different status flags. 10 means OK, 55 means damaged. We have the following choices: