Repository navigation
How to manage spare parts stored in different locations? #1668
Replies: 2 comments
|
Thanks for the explanation! I can understand that the parent location is intended to make it possible to move boxes/locations around when reorganizing the storage system. And in fact, this is exactly how I use it too. For example, my setup is something like this: there is a cabinet as a Location, several shelves as Locations inside it, boxes as Locations inside those shelves, and finally the actual Items inside the boxes. If I want to reorganize the cabinet, I can simply move a box from "Shelf 1" to "Shelf 2" by changing its parent location. This is exactly what I find very useful about the parent location concept and, as I understand it, this is the use case you are describing Homebox as being designed for. I'm still a bit confused about the purpose of the "Parent Item" relationship if it isn't intended to represent relationships between items. Apparently, I'm not the only one who is confused about this — see #984, and especially this comment. To me, these seem like two separate concepts: the parent location describes where something is stored, while the parent-item relationship describes how items are related to each other. The latter is the functionality I'm also interested in. It worked for me in earlier versions of Homebox, but unfortunately doesn't seem to work anymore in the same way. In the meantime, I also created a bug report for this (before I received your answer): #1688. The issue is that once a parent item has been set, I can no longer change the item's parent location. This seems to happen even when "Sync child items' locations" is disabled. (#1688) I do appreciate your suggestion of including the product name in the title of the spare parts, and I can see how that could work as a workaround. However, I'd prefer to use it only as a last resort. In my previous setup, for example, I had items associated with parent-items across multiple levels. This allowed me to model a fairly powerful relationship between items, which I'd rather not encode as a string in the item title. I would also completely understand if Homebox is simply not intended to support this particular use case. However, the important point for me is that I was able to model exactly this use case using the parent-item relationship in an earlier version, which is why I'm trying to understand whether this is a change in the intended behavior or simply a bug/regression. Maybe I'm still misunderstanding the intended data model or the purpose of "Parent Item". In any case, thanks again for taking the time to respond and for working on Homebox! |

Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I have the following use case and I'm wondering how others handle it.
I have a product P1 that can have spare parts, for example P2.
I'd like to store P1 and P2 in different locations.
Previously, I created separate items for both products and set P1 as the parent of P2. This worked well because whenever I was looking for P2, I would first search for P1 and then navigate to its children, where P2 was listed with its location.
However, with the current version (0.26.2), it seems that it's no longer possible to store P1 and P2 in different locations when P1 is the parent of P2.
I'm not sure if this is an intentional change related to the new Entities model or if it's a bug.
How would you handle this use case? Is there a recommended approach for managing products and their spare parts while keeping them in separate storage locations?
Thanks!
All reactions