mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Typo fix
This commit is contained in:
parent
3c5169c793
commit
978ea7cc0b
@ -182,7 +182,7 @@ def associate_manufacturers(apps, schema_editor):
|
|||||||
print(" - Part[{pk}]: Created new manufacturer: '{name}'".format(pk=part_id, name=company_name))
|
print(" - Part[{pk}]: Created new manufacturer: '{name}'".format(pk=part_id, name=company_name))
|
||||||
|
|
||||||
# Update SupplierPart object in the database
|
# Update SupplierPart object in the database
|
||||||
cursor.execute(f"update part_supplierpart set manufacturer_id={manufacturer_id} where id={part_id};")
|
cursor.execute(f"update part_supplierpart set manufacturer_id={manufacturer.pk} where id={part_id};")
|
||||||
|
|
||||||
def find_matches(text, threshold=65):
|
def find_matches(text, threshold=65):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user