Skip to content

When a new StockItem is created (from part detail without PO), the person who created it is not saved. #11531

@xlfds

Description

@xlfds

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When a new StockItem is created (from part detail without PO), the person who created it is not saved.

Image

I tested it in https://demo.inventree.org/web/stock/item/1386/tracking

Steps to Reproduce

  1. Go to Part Detail/Stock (example: https://demo.inventree.org/web/part/85/stock)
  2. Click on green plus above table
  3. Submit form
  4. In Stock Tracking we can show "No user information" in User column

Expected behaviour

In Stock Tracking we want see user in User comlumn.

Deployment Method

None

Version Information

InvenTree-Version: 1.3.0 dev
Django Version: 5.2.12
Commit Hash: 609a3f4
Commit Date: 2026-03-15
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.15.0-100-generic-x86_64-with-glibc2.41
Installer: DOC
Active plugins: false

or

InvenTree-Version: 1.1.6
Django Version: 4.2.26
Commit Hash: e1a97b2
Commit Date: 2025-11-26
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.1.0-42-amd64-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Part Parameter Exporter","slug":"parameter-exporter","version":"1.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":"InvenTreeLabelSheet","slug":"inventreelabelsheet","version":"1.0.1"},{"name":"DigiKeyBarcodePlugin","slug":"digikeyplugin","version":"1.0.1"},{"name":"LCSCBarcodePlugin","slug":"lcscplugin","version":"1.0.1"},{"name":"MouserBarcodePlugin","slug":"mouserplugin","version":"1.0.1"},{"name":"TMEBarcodePlugin","slug":"tmeplugin","version":"1.0.1"}]

Try to reproduce on the demo site

I tried to reproduce

Is the bug reproducible on the demo site?

Reproducible

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelates to the APIbugIdentifies a bug which needs to be addressedstockRelated to Stock models

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions