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

correct create Manufacturer Part (#453)

This commit is contained in:
42CrMo4 2023-03-19 02:07:39 +01:00 committed by GitHub
parent 5c6981d016
commit 05936b1444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ SupplierPart.create(api,{
'SKU':'some_code', 'SKU':'some_code',
'link':'https://www.xst.bla/products/stock?...' 'link':'https://www.xst.bla/products/stock?...'
}) })
SupplierPart.create(api,{ ManufacturerPart.create(api,{
'part':couch.pk, 'part':couch.pk,
'manufacturer':acme.pk, 'manufacturer':acme.pk,
'MPN':'Part code of the manufacturer' 'MPN':'Part code of the manufacturer'