mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 13:46:54 +00:00
Typo fixed
This commit is contained in:
parent
c31afca977
commit
08fdc167f9
@ -94,7 +94,7 @@ from inventree.stock import StockItem
|
|||||||
furniture = PartCategory.create(api, {
|
furniture = PartCategory.create(api, {
|
||||||
'name': 'Furniture',
|
'name': 'Furniture',
|
||||||
'description': 'Chairs, tables, etc',
|
'description': 'Chairs, tables, etc',
|
||||||
parent, 7
|
'parent': 7,
|
||||||
})
|
})
|
||||||
|
|
||||||
## Create a new Part
|
## Create a new Part
|
||||||
@ -113,7 +113,7 @@ item = StockItem.create(api, {
|
|||||||
'part': couch.pk,
|
'part': couch.pk,
|
||||||
'quantity': 5,
|
'quantity': 5,
|
||||||
'notes': 'A stack of couches',
|
'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...
|
||||||
})
|
})
|
||||||
|
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user