| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Purchase (purchase) • Discuss (mail) • Invoicing (account) |
| Lines of code | 318 |
| Technical Name |
deltatech_alternative |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Purchase (purchase) • Discuss (mail) • Invoicing (account) |
| Lines of code | 318 |
| Technical Name |
deltatech_alternative |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
Products Alternative
Alternative product codes
Manage multiple alternative codes per product and find any item by any of its codes. This module is useful when the same product is known under different references — supplier codes, manufacturer part numbers, legacy codes, or customer-specific identifiers — and your team needs to locate it regardless of which code they have at hand.
Key features:
- ✓Adds a dedicated Alternative tab on the product form where you can record any number of extra codes, reorder them, and optionally hide individual codes from the combined display.
- ✓Exposes a computed Alternative Code field (visible in the product list and on documents) that concatenates all visible codes for quick reference.
- ✓Extends product search so that typing an alternative code returns the matching product, on both product templates and their variants. The search is opt-in and tunable from Settings.
- ✓Surfaces the alternative code column on Sales Order, Purchase Order, and Stock Move lines, keeping the code visible throughout the order-to-delivery flow.
- ✓Adds a free-text Used For field on the product to note what the item can be used for, aiding identification and cross-selling.
Configuration
Alternative Search Settings
Navigate to Settings > Inventory (the setting is injected after the Units of Measure section) to configure the alternative-code search behaviour:
| Setting | System Parameter | Default | Effect |
|---|---|---|---|
| Alternative Search (checkbox) | alternative.search_name |
disabled | When enabled, product name-search queries also scan alternative codes. |
| Alternative Limit | alternative.limit |
10 | Maximum number of extra results returned from the alternative-code search. |
| Minimum Length | alternative.length_min |
3 | Minimum number of characters the user must type before the alternative search is triggered. |
These three values are stored as ir.config_parameter system
parameters and can also be set directly via Settings > Technical >
Parameters > System Parameters if needed.
Usage
Adding Alternative Codes to a Product
- Open Inventory > Products > Products (or Sales > Products > Products).
- Select or create the product you want to enrich.
- Go to the Alternative tab on the product form.
- Click Add a line and enter the alternative code in the Code column.
- Repeat for every additional code. Use the drag handle to reorder them.
- Tick Hide on any code you do not want included in the combined Alternative Code display field.
- Save. The Alternative Code field (visible in the General Information section and in the product list) is automatically updated.
Searching by Alternative Code
Once Alternative Search is enabled in Settings:
- Open any product selection field — on a Sales Order line, Purchase Order line, Stock Move, or the product list itself.
- Type part of an alternative code (at least the number of characters set in Minimum Length).
- The matching product appears in the dropdown alongside any products whose name matches the same text.
Alternative Code on Sales and Purchase Orders
The Alternative Code column is available (optional, hidden by default) on Sales Order and Purchase Order lines. To show it:
- Open a Sales Order (Sales > Orders > Orders) or Purchase Order (Purchase > Orders > Purchase Orders).
- In the order lines list, click the optional-columns button (the settings icon on the right of the column headers).
- Tick Alternative Code to display the column.
The column is read-only and reflects the concatenated visible codes of the selected product.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dorin Hongu
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
Need help getting started?
We are an Odoo partner building apps for the Romanian market (SAGA & WinMentor export; Romanian accounting localization in progress). Direct support from the team that built the module.
Contact Terrabit →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