Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Often warehouses might have different packaging items they stock. Like single unit, box of 100, a special pack of 42 etc.
These different packaging can be represented by UOM and people use different barcodes for each type of UOM. The problem is, when these barcodes are scanned in transaction the default UOM is fetched instead of fetching barcode-specific UOM.
This feature adds a new field on the barcode table where you can specify the UOM for any barcode. When that barcode is scanned the UOM is auto-updated on the table.
You can also scan two different UOMs in same transactions and they'll be added as separate rows instead.
Demo:
docs: https://docs.erpnext.com/docs/v14/user/manual/en/stock/articles/track-items-using-barcode
closes #30777
integration test: frappe/erpnext_ui_tests#112
Credit: This is largely based on proposed implementation by @szufisher ( https://discuss.erpnext.com/t/multiple-barcodes-for-different-uoms/31577/10?u=ankush )