POS Product Codes: Reference and Barcode on Cards, Lines and Receipts
by Aerya IT Solutions https://aerya.net$ 24.11
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
POS Product Codes: Reference and Barcode on Cards, Lines and Receipts
The internal reference or the barcode on each product card, the reference before the name on the order lines and the receipt, and a search that also finds packaging barcodes and your vendors' product codes.
[REF] on the order lines and on the receipt
Search by packaging barcode and by vendor product code
Read once when the till opens
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
Screenshots from Odoo 18 Enterprise with the demo data of a fictitious company.
The problem
A till is fast when the cashier finds the product at a glance. In a shop that works with references (hardware, spare parts, books, workwear), people say "the 4021", not the long product name. Odoo's product cards show the name and the picture, and the receipt shows the name only. The reference is in the product form, a click away from the till.
The search has a similar gap. A cashier who types a code read from a supplier's box, or from the label of a packaging, expects the product to come up. Odoo finds products by name, internal reference and barcode, but not by the barcode of a packaging or the code a vendor uses for the product.
What the module does
It adds a block called Product Codes to the settings of each point of sale. You choose what the product cards print in their corner (the internal reference, the barcode, or the reference with the barcode as a fallback), and whether the reference appears before the product name on the order lines and on the printed receipt. It also teaches the product search of the till two more kinds of code: the barcodes of the packagings and the product codes of the vendors.
How it works, step by step
- Install. The module depends on Point of Sale only.
- Open the settings. Point of Sale > Configuration > Settings, pick the point of sale, and find "Product Codes" in the PoS Interface block.
- Choose the code on the cards. "Code on Product Cards": Nothing, Internal reference, Internal reference else barcode (the default), or Barcode.
- Choose the reference on lines. "Reference on Order Lines and Receipts" is on by default. It prints [REF] before the product name on the order lines and on the receipt.
- Open the register. The codes are read once when the till opens: reload an open register after changing the settings.
- Search with any code. Type a code in the search of the till. The product is found by name, internal reference or barcode as before, and also by the barcode of one of its packagings or by the code of one of its vendors.
The code the cashier knows
On the product cards, the order lines and the receipt
The reference sits in the corner of each card, so a shop that works with references finds the product at a glance.
With "Internal reference else barcode", a product without a reference still shows its barcode, so no card stays blank when the barcode exists.

Search with any code
A code from a supplier's box finds the product
The module adds the barcodes of the packagings and the product codes that the vendor price lines of the product carry. They are loaded with the products when the till opens, for the company of the till or those shared by all companies.
Scanning a packaging barcode is Odoo's own feature and adds the packaging quantity; this module is about typing a code in the search.

What it does not do
- Price look-up codes (PLU) typed on the numpad are not covered. PLU is not a field of Odoo: use the internal reference.
- The codes are read when the register opens. A product code added while the till is open appears after a reload.
- It does not change the receipt layout beyond adding the reference before the product name.
- It does not change scanning: a scanned packaging barcode is handled by Odoo as before.
Requirements
| Odoo versions | 17, 18, 19 and 20 |
| Editions | Community and Enterprise |
| Odoo apps | Point of Sale |
| Modules of ours | None |
| Settings | Per point of sale, in the PoS Interface block |
| Languages | English, Spanish and Romanian |
Questions
Can I show the code on the cards of one shop and not another?
Yes. Both options are set on each point of sale.
Does the reference appear on the customer's receipt?
Yes, as [REF] before the product name, when "Reference on Order Lines and Receipts" is on. Turn it off to keep the receipt as before.
Does the search find a product by its vendor's code?
Yes, when the vendor price line of the product has a product code.
Do I need to change my products?
No. The module uses the reference, barcode, packagings and vendor codes you already have.
What happens if I uninstall it?
The cards, lines and receipts go back to Odoo's defaults and the search to Odoo's own matching.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 18, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Aerya IT Solutions · Developed in the European Union · aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 161 |
| Technical Name |
aerya_pos_product_codes |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module