Skip to content

[FR]Display default stock location in the location selector #12304

Closed

Description

@martonmiklos

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

It would came handy if the default stock location could be selected easier for parts where it is set.

Suggested solution

Always add the default stock location (if set) as the first item (preferably with a separator) before the outermost locations.
Image
This way the default location could be selected without any typing (mouse move only).

Describe alternatives you've considered

Always searching for the default location. 😆

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Activity

  1. added
    enhancement
    triage:not-checked
    on Jul 5, 2026
  2. wolflu05 commented on Jul 5, 2026

    @wolflu05
    Member

    There were quite some improvements in the last few weeks around this selector. There is now an actually collapsible tree rendered. I would suggest a slightly different approach, what about adding a simple use default button on the right into the input field with some icon, then when hovering it shows the default location card, and when clicking selects the default location in the tree. Additionally we could also show a small default icon on the location in the tree, to indicate this to the user.

  3. martonmiklos commented on Jul 5, 2026

    @martonmiklos
    ContributorAuthor

    what about adding a simple use default button on the right into the input field with some icon, then when hovering it shows the default location card, and when clicking selects the default location in the tree.

    Your idea is better and cleaner. Is there an icon in the theme for indicating default things?

  4. wolflu05 commented on Jul 6, 2026

    @wolflu05
    Member

    Not sure, I am not aware of one

  5. martonmiklos commented on Jul 6, 2026

    @martonmiklos
    ContributorAuthor

    Not sure, I am not aware of one

    I had been thinking this further: what if the default stock location would be selected by default?
    Or asking from the different perspective: what else would be the role of the default stock location 🤔

  6. SchrodingersGat commented on Jul 31, 2026

    @SchrodingersGat
    Member

    This should be considered again with the new tree-select view for locations. @martonmiklos perhaps you would be able to work on an implementation for this?

  7. added
    User Interface
    and removed
    triage:not-checked
    on Jul 31, 2026
  8. SchrodingersGat commented on Sep 22, 2026

    @SchrodingersGat
    Member

    @martonmiklos happy for you to work on this, but it won't be a priority otherwise.

  9. martonmiklos commented on Sep 22, 2026

    @martonmiklos
    ContributorAuthor

    @martonmiklos happy for you to work on this, but it won't be a priority otherwise.

    Okay, I will try to catch up with InvenTree things.
    So you are comfortable by selecting the default location automatically?

  10. added 3 commits that reference this issue on Sep 22, 2026
    c6007d8
    306a459
    0984dde
  11. martonmiklos commented on Sep 24, 2026

    @martonmiklos
    ContributorAuthor

    @SchrodingersGat

    I just realized that the Part categories are having default stock location too and I think it should be taken into account too.

    My recommendation would be the following:
    If the part's default stock location is being set then use it, if not then the part category default location shall be used if set.
    Could you please confirm that this aligns with your expectations!

  12. added a commit that references this issue on Oct 13, 2026
    a423246
  13. added a commit that references this issue on Oct 26, 2026
    dbffb96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

User Interfaceenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions