-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
Add support to scan digiKey partlabels #5119
Comments
@davrex I literally have the same piece of paper sitting on my desk - as a reminder to implement this exact thing. This would best be implemented as a barcode plugin for the inventree server. |
This issue seems stale. Please react to show this is still important. |
not stale, still a good idea! |
Hey! I'd be interested in helping to implement this. I've already managed to get barcode scanning working by adding a barcode plugin, but in the current state this isn't really useful for checking in parts after receiving an order. For me personally, the ideal workflow would be to:
For me personally, I'd like to be able to do 3. quick and easily via the App. I'm thinking of adding a Scanning Action in the Purchase Orders section, like this: The information present in the 2D barcode could then be used to automatically figure out the Order etc. I'm not sure though how an implementation for the InvenTree web interface would like. |
Implementing this in the App shouldn't be too difficult, the source code is here: https://github.com/inventree/InvenTree-app |
Great! I've seen #5500 earlier, but wasn't sure if it'd apply to this, so thanks for confirming that ^^ I've already managed to get my own less bloated version of Ki-nTree going, here's a gist of the (still very messy) WIP code. Looking at #3791, I'm guessing that's supposed to implement the neccesary foundations/api for allowing "part importing plugins" to exist in the first place right? |
Yep, I'm already on it! Main issue is I've never messed with app development/dart before really, but it looks pretty straight forward, so I'll see what I can come up with. |
#3791 is not ready for prime time right now but the idea is to move all the vendor APIs to plugins and into mainline Inventree - so that access to them can be exposed both to WebUI and API (with perks like simple configs over various machines, rate watching etc). It would be great if we could have a good digikey plugin once that is done but it is to early to hold anyone of their development.
Setting up the environment is the most time-consuming task there, dart itself is IMO very easy if you know a bit of JS. |
@30350n thanks for commenting, your approach sounds really nice. I have put some brief thought into this previously, and your overall process seems good. I would add another simple step: Additionally, scanning the barcode should Writing this as a back-end plugin means that it might be able to work out-of-the-box with the app without any change to code - and certainly any required changes could be made pretty simply. |
Thanks a lot!
This is not really possible I think (as discussed here). |
I think that we should implement the more complex checking/receiving actions in P UI/React. Multi-step stuff in one API-call might be a bit intransparent. When done in the UI we can (for now) keep the state just in the client and make our life a lot easier. This could for example be done with #5500 as a suggested action if an order barcode is detected |
Add support to scan digiKey partlabels QR for easier adding of stock items.
Scan QR
find matching part,
populate the quantity
The text was updated successfully, but these errors were encountered: