mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 13:56:30 +00:00
@ -156,7 +156,7 @@ def associate_manufacturers(apps, schema_editor):
|
|||||||
manufacturer_id = links[name]
|
manufacturer_id = links[name]
|
||||||
|
|
||||||
query = f"update part_supplierpart set manufacturer_id={manufacturer_id} where id={part_id};"
|
query = f"update part_supplierpart set manufacturer_id={manufacturer_id} where id={part_id};"
|
||||||
result = query.execute()
|
result = cursor.execute(query)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# Mapping not possible
|
# Mapping not possible
|
||||||
|
Reference in New Issue
Block a user