Contact Number / Customer ID Generator
by Modvanta https://modvantaapps.tech/odoo-apps/contact-id-generator/$ 4.99
Odoo 19CommunityEnterpriseNo external serviceBy Modvanta
Built and supported by Modvanta - modvantaapps@gmail.com
What it does
Many businesses quote a customer number on the phone, on documents and in other systems. Odoo has a free-text Reference field, so numbers are typed by hand, skipped or duplicated.
This module gives each new contact an automatic reference such as CUST-000034, built from a prefix, a sequential number with fixed padding, and an optional suffix. The reference is shown under the contact name, in a Ref column in the contact list, and can be searched. Existing contacts can be numbered in bulk from the list with the Generate Contact Reference action.
Who it is for
Businesses with customer numbers Who quote a customer or vendor number on calls, letters and statements. |
Companies syncing with other systems Who need a stable, unique key per contact. |
Teams migrating to Odoo Who want every existing contact numbered in one go. |
Key features
1A reference on every contact
The reference appears under the contact name and is read-only, so it cannot be changed by mistake.

A company with its generated reference.
2Numbered on creation
Every new contact receives the next number in the sequence as soon as it is saved.

A new contact numbered automatically.
3Ref column and search
A Ref column in the contact list, and Search Contact Reference in the search box.

Contacts found by searching part of a reference.
4Number existing contacts in bulk
Select contacts in the list and run Actions -> Generate Contact Reference. Contacts that already have a reference keep it.

Existing contacts numbered in one action.
5Prefix, suffix and padding
General Settings -> Contact Reference Numbers: switch it on or off and set prefix, suffix and number padding.

The Contact Reference Numbers settings.
How it works
| 1 | Set the format In General Settings choose the prefix (default CUST-), suffix and padding (default 6). |
| 2 | Number existing contacts In the contact list select all and run Generate Contact Reference. |
| 3 | Work as usual New contacts are numbered when they are created. |
| 4 | Find by number Type the reference in the contact search and pick Search Contact Reference. |
Settings
| Auto-generate contact reference numbers | On by default. |
| Prefix / Suffix | Text before and after the number, for example CUST- or -EU. |
| Number Padding | Minimum number of digits, padded with zeros. |
| Sequence | The running number uses the Odoo sequence Contact Reference, so numbers never repeat. |
FAQ
Are company contacts and persons numbered the same way?
Yes. Every contact created gets the next number, whatever its type.
Can a reference be edited?
No. It is read-only on the form to keep it stable.
Does changing the prefix renumber old contacts?
No. Only new references use the new prefix.
Are delivery and invoice addresses numbered too?
Yes. They are contacts in Odoo, so they get a number when created.
Compatibility
- Odoo 19 Community and Enterprise
- Depends on Contacts and Discuss
- Tested on a fresh Odoo 19 database with demo data
Support
Questions before you buy, or something not working after you install? Write to modvantaapps@gmail.com. Bug reports for Odoo 19 are answered and fixed free of charge.
Contact Number / Customer ID Generator
Every new contact gets a unique, sequential reference number with your own prefix.
Buy Now - $5Ask a Question| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 163 |
| Technical Name |
mdv_contact_id_generator |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/contact-id-generator/ |
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