One item, two supplier barcodes in Odoo POS
A supplier delivers chalk sticks one at a time. Another ships the same chalk in cases of six. Both labels should add the same product to the register, with the correct number of sticks.
Download the editable trainer workbook (XLSX)
Set up a practice counter
This exercise uses Odoo 18 Community with Inventory and Point of Sale. The alphanumeric barcodes are local training values. The two CSVs below are ready for a disposable store.
- Enable Product Packagings in Inventory settings. Enable product variants if the Product Variants menu is hidden.
- Open Inventory → Products → Product Variants. Use the list’s import action and select the product variant CSV. Review the field matches, then choose Test and Import. This creates the fictional item “Training chalk stick” and makes it available in POS.
- Open Inventory → Configuration → Product Packagings and import the two packaging rows (CSV). Map Product / External ID to the variant and Contained Quantity to the number of individual sticks. Test the import, then apply it. Reusing the same External IDs updates those records.
Run three scans
Open a fresh POS session after the import. Start an empty order. Scan each value in order using a keyboard-emulating scanner, or send the characters quickly followed by Enter with a scanner test tool. Typing into the product search box exercises a different action.
| Label | Scan value | Units on the line |
|---|---|---|
| Supplier single | BDG2143UNIT | 1 |
| Six-stick case | BDG2143CASE | 7 |
| Single again | BDG2143UNIT | 8 |
Our keyboard-wedge test in Odoo Community 18.0-20261124 produced one chalk order line with these three quantities. The worksheet’s Counter check tab has room for the observations from your own register. You can stop at the open order.
Adapt it for a merchant
In Google Sheets, upload the XLSX and open it with Sheets. For an existing item, export its variant External ID and use it in both Packaging rows. Give each packaging a stable External ID of its own. Preserve the supplier’s exact barcode text and verify the units against the physical label. Download the edited Packaging tab as CSV and test it in a copy of the merchant’s store.
The supplier labels in this example identify packaging for one variant. Assigning vendor purchase terms or recording which supplier fulfilled a delivery is a separate step. For the earlier task of deciding whether two incoming identifiers represent the same GTIN or a different case, use the supplier barcode comparison.