| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 88 |
| Technical Name |
vendor_product_code |
| License | LGPL-3 |
| Website | http://www.ash.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 88 |
| Technical Name |
vendor_product_code |
| License | LGPL-3 |
| Website | http://www.ash.com |
⮩ Vendor Product Code
Assign a 4-character prefix to any supplier and auto-generate unique, traceable product barcodes with a single click — no configuration needed.
Supplier Prefix
Set a unique 4-character alphanumeric prefix on each vendor's contact form.
One-Click Barcode
Click Generate Barcode on the product form — done instantly.
Auto Sequence
Each vendor keeps its own counter — every barcode is globally unique.
Lock on Generate
Once generated the barcode field becomes read-only — no accidental edits.
Strict Validation
Prefix must be exactly 4 alphanumeric characters — validated on save.
Zero Config
Install and use immediately — no settings, no wizards, no extra menus.
Open Vendor
Go to Contacts, open a supplier and navigate to the Purchase tab.
Set Prefix
Enter a 4-character prefix in the Product Prefix field (e.g. ACME).
Open Product
Open any Product form and select the vendor in the new Supplier field.
Generate Barcode
Click Generate Barcode — the barcode is created automatically.
Barcode Locked
Barcode field becomes read-only; sequence auto-increments for next product.
✔ Valid Prefixes
✘ Invalid Prefixes
| Item | Detail |
|---|---|
| Odoo Version | 17.0 |
| License | LGPL-3 |
| Category | Inventory / Purchase |
| Dependencies | base, purchase |
| Models Extended | product.template, res.partner |
| Views Extended | product.product_template_only_form_view, base.view_partner_form |
| New Fields on Product | nx_vendor_id (Supplier), nx_is_barcode (Is Barcode) |
| New Fields on Partner | nx_product_prefix, nx_product_sequence, nx_is_generate |
Please log in to comment on this module