InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

[FR]Add link to the filtered stock items under the in stock and in production badges

Open martonmiklos opened this issue 1 year ago • 1 comments

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

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

Problem statement

We have these two nice and shiny badges in the PUI: kép which could be made more useful if they could be clickable and would redirect to the stock view filtered by the production/stock state.

Suggested solution

I am poking around similar (changing of the tables filtering without user intervention), if I sort that out I am fairly sure I can implement it.

The question is how to handle the case if filtering is already setup on the stock list:

  • Clear the setup filters and set the in stock/in production filters
  • Merge the in stock/in production to the filter setup.

@matmair , @SchrodingersGat what do you think about this?

Describe alternatives you've considered

this field cannot left empty ;)

Examples of other systems

Do you want to develop this?

  • [X] I want to develop this.

martonmiklos avatar Aug 04 '24 06:08 martonmiklos