Repository navigation
[18.0][ADD] barcode_inventory: count stock from the Barcode app - #15
Open
szalatyzuzanna wants to merge 1 commit into
Open
szalatyzuzanna wants to merge 1 commit into
szalatyzuzanna wants to merge 1 commit into
Conversation
szalatyzuzanna
force-pushed
the
18.0-add-barcode_inventory
branch
2 times, most recently
from
October 19, 2026 08:13
ac68795 to
ce16ab0
Compare
szalatyzuzanna
marked this pull request as ready for review
October 19, 2026 08:19
oliverg09
reviewed
Oct 19, 2026
szalatyzuzanna
force-pushed
the
18.0-add-barcode_inventory
branch
from
October 19, 2026 09:57
ce16ab0 to
58fc687
Compare
jorgeglez1990
approved these changes
Oct 22, 2026
szalatyzuzanna
force-pushed
the
18.0-add-barcode_inventory
branch
from
October 23, 2026 13:36
58fc687 to
8732d34
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Counts a location's stock from the Barcode app and applies the count as an inventory adjustment of
stock_inventory(OCA/stock-logistics-warehouse). It only depends onbarcode_scannerandstock_inventory.What it does
barcode_gs1installed, a GS1 label also brings its lot/serial and piece count (without it, the core reads EAN-13 only). The quantity can also be typed, decimals included, and each line shows how far it is from the stock. A product that is not listed is added from the + picker; a tracked line's lot field suggests, as the operator types, the lots the count can use at that location.stock.inventoryadjustment of exactly the counted quants, sets the counted quantities and applies them through Odoo's ownaction_apply_inventory, then closes it; should Odoo not apply them, nothing is recorded. If the stock of a counted product changed while counting, nothing is applied either: the screen shows the stock as it is now and asks whether to apply the count anyway, as the back office does with outdated counts. Each count leaves one adjustment with its moves. While it is applied, the screen takes no scan or change.It plugs into the app through the
barcode_screensandbarcode_menu_tilesregistries, without patching it.What a count covers
Access
stock.group_stock_manager). Other users see a notice instead of the locations, and the server refuses their count.Dependencies
stock-logistics-warehouseis added tooca_dependencies.txtforstock_inventory.Tests
browser_js: adding up scans on one line, a plain EAN-13 read by the core's parser, serial numbers counted once, the codes a scan is matched by, a scanned product with no stock to count refused, scans waiting while the count is applied (one resolving after Apply included), the count sent once and left as sent, the difference shown on each line, what is sent when applying, the + picker keeping the count and showing only its latest search, and the location screen for administrators and for other users.@BinhexTeam