Book stock in and out with one barcode scanner, without wrong counts
By Sina Esfahani, OmniTechs · Published 30 November 2026
A barcode scanner sends only the code it reads. That code tells your system which item it is, not whether it is arriving, leaving or being counted, and not how many. The movement type and quantity must come from somewhere else: the screen the person is on, a mode label they scan first, or a question after each scan. Record every scan as a movement line instead of overwriting a stock figure, keep the current mode visible, and test the awkward cases before you trust the numbers. Then count a few locations each week to catch what slips through.
Your first action needs no software. Take one item and write down every way it moves: received, issued to a job, returned, counted. Note who does each and where they stand. That list decides which design fits you.
Set it up in this order:
Keep a movement log: one line per booking with time, person, location, item, type and quantity. Stock is the sum of the lines.
Choose one way to set the movement type: a screen per type, a mode barcode, or a question after each scan.
Keep the mode visible and end it when the person confirms the batch.
For more than three identical units, scan once and type the quantity.
With more than one storage place, scan the location label first, then the items.
Give every item one code per packaging level: its GTIN, or your own label.
Run the go-live test with one test item, then count a few locations weekly.
Why the scan cannot say in or out
Most USB scanners act like a keyboard: the code lands wherever the cursor is, often followed by an Enter. Zebra's DS4678 guide, for example, has an Enter Key setting that adds one after the scanned data (Zebra DS4678: Enter Key). Nothing in that output carries a direction.
The code is also the same on every unit. The number under a retail barcode is a GTIN (Global Trade Item Number), which GS1 UK describes as a globally unique identification number for an item or product (GS1 UK: Barcode numbers and GTINs). Every unit of that product carries the same number, so two units and one unit scanned twice look identical.
The last digit is a check digit. In GS1 UK's example, the weighted sum of 501234567000 is 57, so the check digit is 3: 5012345670003 (GS1 UK: What is a check digit?). It catches a mistyped number from a damaged label, not a wrong movement or a double scan.
Three ways to tell the system what a scan means
Ways to set the movement type
| Design | How it works | Main risk | Fits best |
|---|---|---|---|
| Separate screen per movement | Open Receive, Issue or Count, then scan | Someone keeps scanning in the last screen used | Software with a screen where people scan |
| Mode barcode | Scan a printed IN, OUT or COUNT label, then the items | The mode stays active unnoticed | A workbench where nobody touches a screen |
| Question after every scan | Scan the item, then choose type and quantity | Slow; people confirm the default unread | Low volume, or a spreadsheet |
Separate screens are the safest default. In Odoo's Barcode app you tap Operations, then the Receipts card, open the receipt and scan; each product scan adds one unit. The pencil icon with +#, +1 and -1 changes a quantity, then Confirm and Validate (Odoo 18: Process receipts and deliveries with barcodes).
Mode barcodes suit hands-on work. Odoo prints them from Inventory app, Configuration, Settings, with "Print barcode commands and operation types". Scanning the Receipts barcode always creates a new receipt; the VALIDATE command confirms an operation (Odoo 18: Operation types and commands). Hang one label per type where people scan.
A question after every scan suits a spreadsheet. One extra keystroke, but no mode to forget.
Two scanners, one for IN and one for OUT, only work if your software can tell which scanner sent a code. If both type into the same field, it cannot.
Doing it in Excel
A spreadsheet works for one person at one computer, as a log rather than a list of figures you overwrite:
Make a sheet Movements with columns Time, Person, Location, Item code, Type and Quantity.
Select the Type column, choose Data, Data Validation, set Allow to List and enter In,Out,Return,Correction as Source. On the Error Alert tab choose Stop, so typos are refused (Microsoft: Apply data validation to cells).
Enter incoming quantities as positive and outgoing as negative numbers.
Stock per item: =SUMIFS(F:F,D:D,"B-117"). Add C:C,"A-03" to limit it to one location (Microsoft: SUMIFS function).
Scan into the Item code cell and check where the cursor lands after the Enter. The next scan goes there.
Once several people scan at once, or you have several locations, move to inventory software.
Stop double scans without losing real ones
In the scanner. Zebra's DS4678 has Timeout Between Decodes, Same Symbol: in presentation or continuous mode the label must leave the field of view for the set time, 0.0 to 9.9 seconds, before it is read again (Zebra DS4678: Timeout Between Decodes, Same Symbol). With the trigger it only applies once Triggered Timeout, Same Symbol is enabled, which is off by default (Zebra DS4678: Triggered Timeout, Same Symbol). Other makes use other names; look under user preferences in your model's guide. The trade-off: a timeout also ignores a real second unit scanned within that time. At the default setting it stops a stand scanner re-reading a label, not a person pulling the trigger twice.
In the software, where the real protection sits:
Show every scan as a line with a running quantity, so 2 appears when 1 was meant.
Scan once and type the quantity for more than three identical units; in Odoo you type it after tapping the pencil icon.
Correct with a correction line, never by deleting, so the log still explains the stock.
Weekly, filter the log for the same item booked twice by one person within seconds.
Scan the location first, then the item
With more than one shelf, bin or van, the location belongs in every movement. Label each location and scan location, its items, then the next location. Odoo starts deliveries with the source location (Odoo 18: Process receipts and deliveries with barcodes), and in a count, scanning a location shows every product stored there (Odoo 18: Adjust inventory with barcodes). Test it by scanning an item without a location: a good setup asks for one instead of booking to a default shelf.
One code per item and packaging level
Use the GTIN on the product. Each packaging level normally has its own GTIN: a case of 24 cans carries a different one from each can (GS1 UK: How to generate barcodes for cases; GS1 UK: Understanding product packaging levels). Register the box code with its contents so one scan books 24, or open the box and type the quantity. A box code must never book one unit.
Variants need their own codes. Odoo sets barcodes on each variant, not on the product template (Odoo 18: Product and location barcodes).
Parts without a barcode get your own label. Do not invent 13-digit numbers: GS1 UK calls itself the only authorised provider of unique GTINs, so a made-up number can clash with a real product. A short code with letters, such as B-117, cannot be mistaken for a GTIN, and Odoo accepts any text as a barcode. Print and scan one label before printing the rest.
An unknown code stops the booking. Put the item aside, register it, then scan. Odoo offers Create New Product for an unknown code during a receipt; decide who may use it.
Worked example: a weekly count finds a double scan
Hypothetical: a bicycle workshop keeps brake pad sets, item B-117, on shelf A-03.
Movement log for B-117 on shelf A-03
| Moment | Person | Type | Quantity | Running stock |
|---|---|---|---|---|
| 1 Nov, 08:10 | Sam | Start (counted) | +40 | 40 |
| 5 Nov, 09:02 | Sam | In (box of 24) | +24 | 64 |
| 12 Nov, 10:41:12 | Noor | Out | -1 | 63 |
| 12 Nov, 10:41:13 | Noor | Out | -1 | 62 |
| 6 to 28 Nov | several | Out, 16 lines | -16 | 46 |
| 29 Nov, 16:30 | Sam | Correction: double scan 12 Nov | +1 | 47 |
Sam counts A-03 without seeing the expected figure and finds 47 against 46 booked. A plus difference means something was booked out that never left, or came in unbooked. The log shows two Out lines one second apart, same person, same job: one set left, two were booked. Sam adds +1 with the reason, and system and shelf match.
Contrast. Had Sam counted 44 (-2) with no suspicious pairs, something left unbooked or a receipt was booked too high. Check the receipt against the delivery note first. If it holds, book -2 as unexplained and recount A-03 next week. If the gap returns, watch how parts leave the shelf before changing settings.
Count a few locations every week
Odoo describes cycle counting as counting inventory more often in certain locations, with an Inventory Frequency in days per location, such as 30 for monthly (Odoo 18: Cycle counts). Paper or a spreadsheet works the same way.
Count fast movers, expensive items and any location that differed last time.
Count when no receipt or issue is open for that location.
Count blind. Odoo shows the expected figure by default; clear Show Quantity to Count under Inventory app, Configuration, Settings, Barcode.
Book each difference as a correction line with a reason.
A workable start, not a standard: count every location once in the first four weeks after go-live, then fast movers weekly and the rest monthly. Two counts in a row without a difference: slow down. Two with a difference: examine the process, not the count.
Test before go-live
Put exactly 10 of one test item on its shelf, book a start of 10 and run these tests in order.
Go-live test with one test item
| Test | What you do | Pass | If it fails |
|---|---|---|---|
| 1. Receive one by one | Receive 3 units, scanning each | Stock 13, three scans visible | Check where the scan lands and the Enter setting |
| 2. Double trigger | Issue 1 unit, pull the trigger twice | Screen shows 2 before confirming; you correct it to 1 | Show a running quantity or add a confirm step |
| 3. Forgotten mode | Scan the item without choosing a type | Asks for a type; books nothing | End the mode after each confirmation |
| 4. Box code | Scan the outer box code, then cancel | Offers the box contents or refuses; never 1 | Register the packaging code |
| 5. Unknown code | Scan a label not in your item list, then cancel | Stops with a message; creates nothing | Limit who may create items |
| 6. Return | Return 1 unit from a job | Booked as Return to the right location | Add a Return type |
| 7. No location | Scan the item without a location, then cancel | Asks for the location | Make the location mandatory |
At the end the system shows 13 (10 + 3 - 1 + 1) and you count 13. Any other figure means a test booked something it should not have; find that line before going live. If no setting fixes a failed test, contact the software maker's support with the test number, what you expected, what happened, the scanner model and how it is connected.
When not to scan, and when to move on
Cheap, fast-moving parts such as bolts or cable ties rarely deserve a scan per unit. A two-bin system is often enough: when the first bin is empty, reorder and start on the second, scanning the reorder card once.
A spreadsheet stops being enough when several people scan at once, when you need batch or serial numbers, or when stock feeds a webshop or customer orders. If a wrong count could show an item as available, read what to show when a product is temporarily out of stock. For who accepts a delivery and what happens to a shortfall, see the procurement process flowchart.
If your inventory package works but stock figures are still retyped into another system, OmniTechs can look at an integration. Its custom software page lists stock synchronisation as an integration example, integrations from €1,500 one-off excl. VAT, and a free first conversation.

