PLU Code on Products: Short Price Look-up Codes for Scales and Tills
by Aerya IT Solutions https://aerya.net$ 12.05
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
PLU Code on Products: Short Price Look-up Codes for Scales and Tills
Scales and tills in grocery shops, bakeries and market stalls identify loose goods by a short price look-up code: 4011 for bananas, 94011 for organic ones. Odoo has the barcode and the internal reference, but no place for that short number. This module adds it, checks it and numbers your range.
Digits only, unique in the company
Found by the product search: type 4011, get bananas
A wizard numbers a whole selection
The screenshots use a fictitious company and invented products, codes and barcodes.
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.
in Odoo 19
no warnings
Community and Enterprise
The short number the scale asks for has no place in Odoo
In a grocery shop, a bakery or a market stall, loose goods are sold by a short price look-up code: 4011 for bananas, 94011 for organic ones. The person at the scale or the till keys in the number, not a long barcode. Odoo has a barcode and an internal reference on every product, but no field for this short number. Shops end up keeping it in a spreadsheet, in the internal reference or in a note, and nobody can search by it or check that two products do not share one.
What it does
The module adds a PLU Code to every product and variant, next to the barcode. It checks the code, keeps it unique in the company, lets the product search find a product by its code, and numbers a whole selection in one step.
How it works, step by step
- Install the module. Products and variants get a PLU Code field. It sits next to the barcode on the variant form and, for a product with a single variant, on the product form.
- Type the codes you already use. 1 to 6 digits, no leading zero. A code already used by another product of the company is refused.
- Number the rest. In the product or variant list, select products and choose Assign PLU Codes in the Actions menu. The wizard shows how many products have no code, and a Start From number. The default is the highest code used plus one.
- Check the result. Products without a code get the next free numbers from the start you chose, in the order of their names. Used codes are skipped and existing codes are kept.
- Search by code. Type 4011 where a product is picked, such as an order line, and the bananas come first, followed by the usual matches.
- Find what is missing. The Without PLU Code filter and the optional PLU column in the product lists show the products still to number.
The rules of a PLU code
- Digits only, 1 to 6 of them, with no leading zero. This fits the 4 and 5 digit codes of the IFPS for fresh produce and the short numbers a store gives itself.
- Unique per company: a product of one company may reuse the number of another company. A product shared by every company clashes with all of them.
- Archived products keep their code, so a number is not reused by mistake.
- The code is not copied when a product is duplicated.
- The code is re-checked when a template changes company.
A PLU field next to the barcode
Products and variants get a PLU Code: 1 to 6 digits, without a leading zero, unique in the company (a shared product clashes with all companies). Archived products keep theirs.
The product search finds the code first: typing 4011 in an order line puts the bananas on top, followed by the usual matches.

Number a selection in one go
Select products, Action > Assign PLU Codes: the products without a code get the next free numbers from the start you choose, in name order. Codes already used are skipped and existing codes are kept.

Screenshots of Odoo 19 Enterprise.
Settings and options
| PLU Code | On the variant form, and on the product form for one variant. 1 to 6 digits. |
| Assign PLU Codes | Action on the product and variant lists. Starts from a number you choose. |
| Without PLU Code | Filter on the product and variant lists. |
| PLU column | Optional column in the product and variant lists. |
| Search | Search field in the lists, and the product search of order lines and other product pickers. |
There is nothing to configure. The module installs and the field is there.
What it does not do
- It does not search by PLU in the Point of Sale, and it does not key the code in at the till. Sales, purchase and inventory screens find the code.
- It does not send PLU lists to a scale. Scale software differs per brand.
- It does not print scale labels.
- It does not accept letters, zeros at the start or more than 6 digits.
- It does not change the barcode or the internal reference.
Requirements
- Odoo 17, 18, 19 or 20, Community or Enterprise.
- Only the core Product module, and any app that uses products.
- A host that allows modules with Python code: Odoo.sh or your own server.
- English, Spanish and Romanian translations.
Frequently asked questions
Can two products share a PLU code?
Not inside one company. Two companies of the same database may use the same number.
Do archived products keep their code?
Yes, so the number cannot be given to another product by accident.
Can I number products in bulk?
Yes. Select them and run Assign PLU Codes. They get the next free numbers from the start you choose, in name order.
Does it work with my scale?
The module keeps and numbers the codes in Odoo. Sending them to a scale depends on the scale software and is not part of it.
Can I find a product by its code in the Point of Sale?
Not in this module. Order lines and other product pickers in the backend find it.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 19, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 260 |
| Technical Name |
aerya_product_plu |
| 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