Every partner, a trustworthy reference code
Automatic, configurable, unique reference codes for contacts, customers, and vendors — assigned the moment a partner is created, visible everywhere, and never duplicated.
The problem
Odoo's native Reference field is a free-text box: nobody fills it in consistently, it is never enforced as unique, and it is easy to overlook after install. Staff end up hand-typing customer numbers, producing duplicates, gaps, and codes that mean nothing to accounting or sales downstream — especially painful when migrating from a legacy system where every customer already had a number.
The solution
Partner Sequence Codes assigns independent, fully configurable reference codes for contacts, customers, and vendors automatically on creation. One record can carry a customer code and a vendor code at once, every code is guaranteed unique, existing partners can be backfilled in one action, and the codes are visible in the form and list view from the moment you install.
Everything a partner numbering system needs
Every capability below is implemented in the module.
Automatic assignment on creation
Every new partner receives a unique contact code the instant it is created, with zero manual steps — and a customer or vendor code the moment it gains that rank.
Separate contact, customer & vendor codes
One partner record can hold a contact code, a customer code, and a vendor code simultaneously, each generated by its own independently configured sequence.
Fully configurable format with live preview
Control prefix, suffix, zero-padding width, starting number, increment step, and date tokens such as {year} — and see an example code update live as you edit.
Alphabetic or numeric sequencing
Choose plain numeric numbering, or an alphabetic mode that derives the code from the partner's first letter for name-based grouping — independently per sequence.
Guaranteed uniqueness
Codes can never collide within a company and scope, whether generated automatically or typed in by hand — a clear validation error blocks any conflicting entry.
Guided bulk backfill
One wizard numbers every existing partner that matches a scope, previewing how many records will be affected before you run it — ideal for migrating legacy data.
On-demand generation & correction
Set any sequence to manual mode and generate codes on demand, or regenerate a single wrong code through a controlled, uniqueness-safe action — no direct database edits.
Full assignment audit trail
Every assignment, backfill, and regeneration is logged with the user and timestamp, so admins can always see who got which code and when.
Multi-company & optional mandatory codes
Configure a distinct sequence per company, and optionally require a code before a partner of a given scope can be saved — both switched off by default.
How it works
Configure your sequences
Set the prefix, padding, and format for contact, customer, and vendor codes from one screen, checking the live preview as you go.
Create or import partners
New contacts, customers, and vendors get their codes automatically; imported records that already carry a legacy value keep it untouched.
Backfill existing records
Run the backfill wizard once to number your existing partner base, previewing the affected count before committing.
Search, track, and correct
Find any partner by code, review the full assignment history, and regenerate an individual code whenever a correction is needed.
Frequently asked
No sales fog. If your question isn't here, email us and we'll answer it the same way.
No. The module adds three dedicated fields — contact, customer, and vendor code — and never touches the native Reference field, so it cannot collide with other apps that use it.
Buy it on the Odoo App Store
Purchase, download and install directly from the official Odoo Apps Store — you'll always get the latest supported build.
Partner Sequence Codes
Automatic per-scope reference codes (contact / customer / vendor) for partners
Buy on Odoo App Store