Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement order details #691

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

fabi321
Copy link

@fabi321 fabi321 commented Sep 5, 2024

This adds the possibility to add information about current orders to items.

I'm not sure, how to properly handle translations, and sqlite backwards migrations.

Fixes #217

@fabi321 fabi321 changed the title First order details draft Implement order details Sep 5, 2024
@jbtronics
Copy link
Member

I do not thing it is really useful to track orders with a simple number at part level, the old Part-DB versions did something similar (with the still existing order_quantity field), but it was quite limited and not so useful for many applications.

I think a order-centered system would be more flexibile and useful. Users can create Orders (as a new entity), assign parts and amounts to it and track its status via it (maybe you could even allow to order directly from Part-DB via the distributors APIs). That way you can have multiple orders of the same part in parallel (without loosing detailed track), can store metadata (like who ordered, and when) and when the order arrives you can easily book in all parts of this order, without needing to do that for each part at once.

This also allows to look for historic orders and other things, which should be useful, and which would not be possible by simply storing the currently in order state amount of parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marking ordered components "waiting to arrive"
2 participants