mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 18:37:50 +00:00
Bug fix: add missing line
This commit is contained in:
1 parent
0e11b722be
commit
2303e03580
1 file changed
+2
@@ -146,6 +146,8 @@ def associate_manufacturers(apps, schema_editor):
|
||||
if name in links.keys():
|
||||
print(" - Part[{pk}]: Mapped '{n}' - manufacturer <{c}>".format(pk=part_id, n=name, c=links[name]))
|
||||
|
||||
manufacturer_id = links[name]
|
||||
|
||||
query = f"update part_supplierpart set manufacturer_id={manufacturer_id} where id={part_id};"
|
||||
result = query.execute()
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user