Open SchrodingersGat opened 1 month ago
@30350n do you have any input / insight on this one? This probably is related to the extensive supplier barcode support you added
That largely sounds like expected behavior. Barcode plugins should not be checked when trying to assign a barcode though. This was adressed by me in #6162.
So either that got messed up, or @dieselburner actually already (unknowingly) assigned the barcode in question (for example via the Scan Received Items
functionality).
@dieselburner please refer to the comments by @30350n above - any chance it could be a workflow issue?
@30350n Nope, I believe I didn't messed up, since this was a fresh delivery of components, which were never scanned before. This might be related to the issue I posted earlier: https://github.com/inventree/InvenTree/issues/7637 Also, as I wrote:
I checked the database records, and these supplier items does not have barcode fields set.
If you use the Scan Received Items
functionality, the scanned barcode will be automatically assigned to the created stock item.
I also checked again and the code from #6162 is still intact.
@30350n, don't trying to be impolite, but did you went through the issue which I mentioned?
Yeah, looks like you are scanning two different barcodes. If you look at the actual barcode data, it doesn't match at all.
Yes, the logs I provided are around two different barcodes, which doesn't exist in the database.
There is more technical info at https://github.com/inventree/InvenTree/issues/7637 so I think it would be good to address #7637 before checking if this one is still relevant
Discussed in https://github.com/inventree/InvenTree/discussions/7646