2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Merge pull request #57 from rrakso/patch-1

Typo fixed
This commit is contained in:
Oliver 2021-02-12 21:33:20 +11:00 committed by GitHub
commit 40d272f4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ from inventree.stock import StockItem
furniture = PartCategory.create(api, {
'name': 'Furniture',
'description': 'Chairs, tables, etc',
parent, 7
'parent': 7,
})
## Create a new Part
@ -113,7 +113,7 @@ item = StockItem.create(api, {
'part': couch.pk,
'quantity': 5,
'notes': 'A stack of couches',
location: 10, ## PK of a StockLocation already in the database...
'location': 10, ## PK of a StockLocation already in the database...
})
```
```