Skip to content

supplier import stock creation form redirects to detail page #12119

@wolflu05

Description

@wolflu05

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When importing parts from supplier and creating initial stock, after form submission you get redirected to the newly created stock item instead of keeping at that table. Even keep form open does not help.

Bildschirmaufnahme.2026-06-08.um.11.39.02.mov

Steps to Reproduce

  1. Create part. Select Import from supplier
  2. go through the steps until the initial stock creation table appears
  3. create a stock item
  4. you get redirected to the detail page

Expected behaviour

Keep at the supplier import drawer to create more stock and finish the import process properly

(Not reproducible because there is not supplier import plugin activated at the demo site, for reproducing there can be the sample fasteners plugin used)

Deployment Method

Docker

Version Information

InvenTree-Version: 1.4.0 dev
Django Version: 5.2.14
Commit Hash: 0668075
Commit Date: 2026-05-26
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.8.12-15-pve-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.2.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"Custom Plugin","slug":"custom_plugin","version":"0.0.1"},{"name":"Report LSP","slug":"report-lsp","version":"0.1.2"},{"name":"InvenTreeBulkPlugin","slug":"inventree-bulk-plugin","version":"1.5.2"},{"name":"InvenTreeZebra","slug":"inventree-zebra","version":"0.1.1"}]

Try to reproduce on the demo site

I did not try to reproduce

Is the bug reproducible on the demo site?

Not reproducible

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    User InterfaceRelated to the frontend / User InterfacebugIdentifies a bug which needs to be addressed

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions