diff --git a/src/backend/InvenTree/common/migrations/0026_auto_20240608_1238.py b/src/backend/InvenTree/common/migrations/0026_auto_20240608_1238.py index cbe9bcec01f9..fed840c11302 100644 --- a/src/backend/InvenTree/common/migrations/0026_auto_20240608_1238.py +++ b/src/backend/InvenTree/common/migrations/0026_auto_20240608_1238.py @@ -17,7 +17,7 @@ def update_attachments(apps, schema_editor): ('company', 'ManufacturerPartAttachment', 'manufacturerpart', 'manufacturer_part'), ('order', 'PurchaseOrderAttachment', 'purchaseorder', 'order'), ('order', 'SalesOrderAttachment', 'salesorder', 'order'), - ('order', 'ReturnOrderAttachment', 'order', 'order'), + ('order', 'ReturnOrderAttachment', 'returnorder', 'order'), ('part', 'PartAttachment', 'part', 'part'), ('stock', 'StockItemAttachment', 'stockitem', 'stock_item') ]