Skip to content

Stock Level (from Remove Stock option) Displays Stock # #7149

Closed

Description

@imager2019

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

From the Stock menu option and selecting the item(s) and Remove Stock option. The Stock level displays a # sign
However, some other products (noticed today with a new recently added item), displays the correct stock level.
stock-level-issue

Steps to Reproduce

From Stock menu option
Select item(s)
Select Remove Stock option
Display will show items along with current stock levels, or # if it cannot display

Expected behaviour

Expected to have stock level displayed.

Some products (seems to be newer added items) have the correct stock level displayed.

Deployment Method

  • Docker
  • Package
  • Bare metal
  • Other - added info in Steps to Reproduce

Version Information

Version Information:

InvenTree-Version: 0.14.5
Django Version: 4.2.11
Commit Hash: b32f081
Commit Date: None
Commit Branch: stable
Database: sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.31
Installer: PKG
Target: ubuntu:20.04
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}]

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 May 2, 2024
  2. added and removed
    question
    triage:not-checked
    on May 3, 2024
  3. added this to the 0.15.0 milestone on May 3, 2024
  4. SchrodingersGat commented on May 3, 2024

    @SchrodingersGat
    Member

    @imager2019 thanks for reporting - fix incoming in #7150

  5. imager2019 commented on Jun 22, 2024

    @imager2019
    Author

    Had the opportunity to update to v0.15.4 and the same issue is still there. Old stock entries still show # while new entries show correct stock levels.
    Version Information as of now:

    ==============

    Version Information:

    InvenTree-Version: 0.15.4
    Django Version: 4.2.12

    Database: sqlite3
    Debug-Mode: False
    Deployed using Docker: False
    Platform: Linux-5.15.0-107-generic-x86_64-with-glibc2.31
    Installer: None

    Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}]

  6. SchrodingersGat commented on Jun 23, 2024

    @SchrodingersGat
    Member

    Have you done a hard refresh of your browser to ensure that the old cached javascript files are removed?

  7. imager2019 commented on Jun 24, 2024

    @imager2019
    Author

    Did the hard refresh on the browser and this has solved the issue. Working as intended on my side now.. Thanks..

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions