From 05936b1444216654e4d77a12b7d714ff08a6a702 Mon Sep 17 00:00:00 2001 From: 42CrMo4 <44754810+42CrMo4@users.noreply.github.com> Date: Sun, 19 Mar 2023 02:07:39 +0100 Subject: [PATCH] correct create Manufacturer Part (#453) --- docs/api/python/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/python/examples.md b/docs/api/python/examples.md index f877098..cbe4a7b 100644 --- a/docs/api/python/examples.md +++ b/docs/api/python/examples.md @@ -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') -``` \ No newline at end of file +```