mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-27 05:06:43 +00:00
correct create Manufacturer Part (#453)
This commit is contained in:
parent
5c6981d016
commit
05936b1444
@ -157,7 +157,7 @@ SupplierPart.create(api,{
|
||||
'SKU':'some_code',
|
||||
'link':'https://www.xst.bla/products/stock?...'
|
||||
})
|
||||
SupplierPart.create(api,{
|
||||
ManufacturerPart.create(api,{
|
||||
'part':couch.pk,
|
||||
'manufacturer':acme.pk,
|
||||
'MPN':'Part code of the manufacturer'
|
||||
@ -221,4 +221,4 @@ from inventree.part import Part
|
||||
part = Part(api, pk=47)
|
||||
|
||||
part.uploadAttachment('data.txt', comment='A data file')
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user