Skip to content

Transfering stock changes status #6442

Closed

Description

@medo64

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

If I have damaged items in stock, using "Transfer stock" to move them to a new location changes their status to "OK"

Steps to Reproduce

  1. Start with part containing stock in "Damaged" status.
  2. Use "Transfer stock" to move it to the new location.

Expected behaviour

I would expect stock to stay in "damaged" status instead of reverting to "OK".

Deployment Method

  • Docker
  • Bare metal

Version Information

Version Information:

InvenTree-Version: 0.13.4
Django Version: 3.2.23
Commit Hash: 6a66be3
Commit Date: 2024-01-24

Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.6.7-0-lts-x86_64-with
Installer: DOC

Active plugins: False

Please verify if you can reproduce this bug on the demo site.

  • I can reproduce this bug on the demo site.

Relevant log output

No response

Activity

  1. added
    bug
    question
    triage:not-checked
    on Feb 7, 2024
  2. added
    stock
    api
    and removed
    triage:not-checked
    on Feb 7, 2024
  3. added this to the 0.14.0 milestone on Feb 7, 2024
  4. SchrodingersGat commented on Feb 7, 2024

    @SchrodingersGat
    Member

    @medo64 thanks for reporting this - I can confirm that this is indeed a bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibugquestionstock

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions