CODEerts Partner Code | Customer Code & Vendor Code Sequences | Odoo Contact Reference Numbering
by CODEerts https://www.codeerts.com$ย 19.99
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 314 |
| Technical Name |
codeerts_partner_code |
| License | OPL-1 |
| Website | https://www.codeerts.com |
| Versions | 17.0 18.0 19.0 |
Partner Code
Separate, automatic customer and vendor reference codes
for every contact, the way larger ERPs number partners.
Pick a partner type and the contact gets a customer code, a vendor code, or both, each from its own configurable sequence.
|
2
Code Series
|
Per Co.
Number Ranges
|
0
Accounting Deps
|
Search
By Code
|
v17
Compatible
|
What this module does
Partner Code gives every contact an automatic reference code based on an explicit partner type. You set the contact as a Customer, a Vendor, Customer and Vendor, or Other, and the module assigns a customer code, a vendor code, or both, each drawn from its own configurable sequence. Your customers run in one series like CUS/00001 and your vendors in another like VEN/00001, so the two never collide.
Everything is configurable from a dedicated Settings section: the prefix and number of digits for each series, whether codes are assigned automatically or on demand, and whether people may type their own. In a multi company database each company keeps its own prefix and an independent number range. You can also show the code next to the partner name across sales, purchase, invoicing and payments, and find any contact by typing its code. It installs on Community and needs no accounting or Enterprise app.
|
๐
Separate customer and vendor codes
Each role gets its own series from its own sequence. A contact that is both carries a customer code and a vendor code at the same time. |
โ๏ธ
Configurable and per company
Set the prefix and digits for each series in Settings. In a multi company database every company gets its own prefix and an independent number range. |
๐
Visible and searchable
Show the code next to the partner name on sales and purchase documents, and find any contact by typing its customer or vendor code. |
|
๐ท Explicit Partner Type
A clear selector, Customer, Vendor, Customer and Vendor, or Other, decides which code the contact receives. |
๐ Stable, Sticky Codes
A code never changes once assigned. A customer you later mark as a vendor keeps its customer code and simply gains a vendor one. |
|
๐ข Per-Company Ranges
Each company sets its own prefix and gets an independent series. Uniqueness is enforced per company. |
โ Optional Manual Entry
Turn on manual codes to type or import your own values, still kept unique per company. Leave it off for read only, sequence only codes. |
|
๐ Code in the Partner Name
Show the code next to the partner everywhere it appears. Sales documents lead with the customer code, purchase documents with the vendor code. |
๐ Search and Group by Code
Type a code into any partner field to find the contact, add code columns to the contact list, and group contacts by partner type. |
|
๐ฅ Bulk Backfill
Give codes to contacts created before you installed the module. Select them in the list, set the type once, and they are all numbered. |
๐ Community Friendly
Built on core contacts only. No Enterprise app and no accounting dependency, so it runs on any Odoo. |
How it works
|
1
|
Set your prefixes
Open Settings, Partner Codes, and choose the prefix and number of digits for the customer and vendor series. In a multi company database, switch company to set each one. |
|
2
|
Pick a partner type
On any contact, set the Partner Type. The matching code is assigned the moment you save, drawn from that series for the active company. |
|
3
|
Backfill existing contacts
In the contact list, select the contacts you want, set the Partner Type once, and every one of them is numbered together. |
|
4
|
Show it on your documents
Turn on Show Code in Contact Name and the code appears next to the partner on sales orders, purchase orders, invoices, bills and payments. |
|
5
|
Find partners by code
Type a customer or vendor code into any partner field and the contact is found, the same way you would search by name or email. |
Screenshots
ONE CONTACT, BOTH CODES: a customer and vendor partner with its two reference numbers
CUSTOMER NUMBERING: mark a contact as a customer and it gets a CUS code automatically
VENDOR NUMBERING: vendors run in their own separate VEN series
ACROSS YOUR CONTACTS: customer and vendor code columns in the contact list
Technical information
|
Version
17.0
|
License
OPL-1
|
Editions
Community & Enterprise
|
Dependencies
contacts
|
Technical name: codeerts_partner_code ยท Scope: extends the standard contact, adds no accounting or Enterprise dependency
Frequently asked questions
You pick a Partner Type on the contact, Customer, Vendor, Customer and Vendor, or Other, and the module draws the matching code from its own sequence, so customers get one series and vendors another. A contact that is both carries a customer code and a vendor code at the same time.
Yes. In a multi company database each company sets its own prefix and number of digits in Settings and gets an independent number range. The code is issued by the company active when the contact is created, and uniqueness is enforced per company.
Yes. Turn on Allow Manual Codes in Settings and the code fields become editable, so you can type a code or import your own while they are still kept unique per company. Leave it off to keep codes read only and sequence only.
Yes. Turn on Show Code in Contact Name and the code appears next to the partner everywhere it is displayed, on sales orders, purchase orders, invoices, bills and payments. A sales document leads with the customer code and a purchase document leads with the vendor code.
It is maintained for current major Odoo versions and works on both Community and Enterprise. Each Odoo Apps Store listing shows the exact version it supports.
The team behind this module
About CODEerts
Full-Service Odoo ERP Agency ยท Solutions That Scale
Every module in our store is built from real client work, tested in production and maintained long-term by a team of Odoo certified consultants. When you need more than an app, we deliver the full solution.
|
๐๏ธ Implementation
Full Odoo roll-outs from requirements to go-live, across any industry and company size. |
๐งฉ Custom Development
Bespoke modules, OWL components and business logic built precisely to your workflow. |
๐ Migrations
Zero-data-loss upgrades from older Odoo versions with full custom module porting. |
|
๐ Integrations
Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs. |
๐ Odoo Audits
Performance, security and code-quality reviews that surface risks before they become problems. |
๐งโ๐ป Support & Training
Ongoing helpdesk, user training and monthly retainers so your team stays productive. |
More from CODEerts
Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.
FREE Archive Anything | FREE Transaction Flow Visualizer | FREE Smart Mail Rebrand | FREE Duplicate Record Detector |
โ AI Dashboard Builder | โ Advance Payment Pro | โ Advance Payment Management | โ Activity Dashboard |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 314 |
| Technical Name |
codeerts_partner_code |
| License | OPL-1 |
| Website | https://www.codeerts.com |
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