Odoo Community
Odoo Enterprise
Viindoo Cloud
Product codes that number themselves
Switch it on and every new product gets an internal reference from a sequence you control - with your own prefix, per company.
Auto Product Code Generation (technical name to_product_code_sequence) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for product owner, warehouse, administrator.
At a Glance
The facts of Auto Product Code Generation, version 1.0.1, in one place. Published by Viindoo.
Technical name
to_product_code_sequence
Odoo version
17.0 (Odoo Community, Odoo Enterprise, Viindoo Cloud)
Adds
5 extended models, 1 setting
Best for
Product owner; Warehouse; Administrator
Not for
It does not renumber what exists.
Key features
Automatic internal reference on product creation, per company, A prefix you choose, and an ordinary Odoo sequence behind it, Off by default - existing catalogues are not renumbered, Manual codes still work; generation fills the gap when nobody types one
How It Works
Two steps, then never again.
1
Set the prefix and switch it on
One checkbox and a prefix. Behind them sits a normal Odoo sequence, so padding and the next number are configurable.
2
New products arrive numbered
Products created afterwards carry a code from the sequence. Anything you type by hand still wins.
What You Get
Automatic internal reference on product creation, per company
A prefix you choose, and an ordinary Odoo sequence behind it
Off by default - existing catalogues are not renumbered
Manual codes still work; generation fills the gap when nobody types one
More Screens
Everything below was taken on a database seeded with real business data, on this series - not a mock-up and not a screenshot from an older version.
Products with generated references
What This App Does Not Do
Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.
It does not renumber what exists.
Switching it on affects products created after that, on purpose.
One sequence per company.
Different formats per product category are not modelled.
It does not enforce uniqueness.
That is the Unique Product Code app - the two are usually installed together.
Works Well With
Apps from the same stack, built to fit this one:
Who Should Use Auto Product Code Generation?
Product owner
Stops inventing a code format per person.
Warehouse
Reads one format on every label.
Administrator
Sets the prefix and the padding once, per company.
Frequently Asked Questions
What does Auto Product Code Generation do?
Switch it on and every new product gets an internal reference from a sequence you control - with your own prefix, per company.
What does Auto Product Code Generation not do?
It does not renumber what exists. Switching it on affects products created after that, on purpose. One sequence per company. Different formats per product category are not modelled. It does not enforce uniqueness. That is the Unique Product Code app - the two are usually installed together.
Who is Auto Product Code Generation for?
Product owner: Stops inventing a code format per person. Warehouse: Reads one format on every label. Administrator: Sets the prefix and the padding once, per company.
Which Odoo version and editions does it support?
Odoo 17.0 - Odoo Community, Odoo Enterprise, Viindoo Cloud. Upgrades to a newer Odoo series are a separate purchase for that series.
What does it depend on?
It installs on top of: product. Odoo installs them with it.
How do I set it up?
Two steps, then never again.
What works well with it?
Unique Product Code (to_unique_product_code): Refuse duplicates as well as generating codes. Product Dimensions (to_product_dimensions): The warehouse's other missing product data.
Can I try it before buying?
Yes - the Live Preview button at the top of this page opens the module's own screen on a working database.
How do I get support?
Write to apps.support@viindoo.com with your Odoo version and the technical name to_product_code_sequence; pre-sales questions go to sales@viindoo.com.
Need help with Auto Product Code Generation?
For questions, implementation support or a custom feature, contact Viindoo.
Upgrades to a newer Odoo series are a separate purchase for that series.
All Viindoo apps: apps.odoo.com/apps/modules/browse?author=Viindoo
About Viindoo. Viindoo builds and maintains more than 1,000 apps on the Odoo App Store for the Community and Enterprise editions and runs them on Viindoo Cloud. A purchase of Auto Product Code Generation covers the 17.0 series: bug fixes on the module reach you through the store, questions go to apps.support@viindoo.com with the technical name to_product_code_sequence, and moving to a newer Odoo series is a separate purchase for that series. Source code is delivered with the module and stays yours to read and adapt.
Technical Requirement
Editions: Odoo Community, Odoo Enterprise, Viindoo Cloud
Changes log
1.0.1 - Latest on the 17.0 line
- Generation is per company, with its own prefix and sequence.
- A code typed by hand is kept; the sequence only fills an empty reference.
Cài đặt
- Truy cập Ứng dụng.
- Tìm từ khóa to_product_code_sequence.
- Ấn Cài đặt.
Hướng dẫn sử dụng
Video hướng dẫn: Tự động tạo Mã Sản Phẩm
1. Kích hoạt tính năng
Truy cập vào Ứng dụng Thiết lập, kích hoạt tính năng Tự động tạo mã sản phẩm trên mục Đơn vị tính trong Thiết lập chung để sử dụng trong quản lý kho.
2. Thiết lập quy tắc sinh ra mã sản phẩm
Truy cập vào Ứng dụng Kho vận > Cấu hình > Nhóm Sản phẩm, thiết lập các thông tin sau:
- Tiền tố mã sản phẩm;
- Mã trình tự.
3. Tạo sản phẩm
Khi tạo một sản phẩm mới, chọn Nhóm Sản phẩm ở trên, phần mềm sẽ tự động tạo mã theo quy tắc đã thiết lập.
Phần mềm này và các tệp liên kết ("Phần mềm")
được sử dụng (chạy, tuỳ biến, chạy sau khi được tuỳ biến)
chỉ khi bạn mua được giấy phép có hiệu lực từ tác giả,
điển hình như qua các Ứng dụng Odoo, hoặc trong trường hợp
bạn nhận được thoả thuận bằng văn bản từ tác giả của Phần mềm (chi tiết tại tệp COPYRIGHT).
Bạn có thể phát triển các phân hệ Odoo có sử dụng Phần mềm như một Thư viện (thường là phụ thuộc vào, nhập vào và sử dụng nguồn của nó)
nhưng không sao chéo bất kỳ mã nguồn hay tài liệu nào thuộc Phần mềm. Bạn có thể phân phối những phân hệ này theo giấy phép
mà bạn lựa chọn, miễn sao nội dung giấy phép đó tương tích với điều khoản của Giấy phép Phần mềm Độc quyền Odoo
(ví dụ: LGPL, MIT hay bất kỳ loại giấy phép phần mềm độc quyền nào tương tự vậy).
Nghiêm cấm phát hành, phân phối, cấp phép lại hoặc bán bản sao của Phần mềm hoặc
bản sao
Phần mềm đã được sửa đổi.
Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.
PHẦN MỀM ĐƯỢC CUNG CẤP "NGUYÊN TRẠNG", KHÔNG BẢO ĐẢM DƯỚI BẤT KỲ HÌNH THỨC NÀO, ĐƯỢC THỂ HIỆN RÕ RÀNG HOẶC NGỤ Ý, KHÔNG GIỚI HẠN
ĐẢM BẢO VỀ CÁC BẢO ĐẢM NGỤ Ý VỀ KHẢ NĂNG THƯƠNG MẠI, PHÙ HỢP VỚI MỤC ĐÍCH CỤ THỂ VÀ KHÔNG VI PHẠM.
TRONG MỌI TRƯỜNG HỢP SẼ KHÔNG CÓ TÁC GIẢ HOẶC CHỦ SỞ HỮU BẢN QUYỀN NÀO CHỊU TRÁCH NHIỆM VỀ BẤT KỲ KHIẾU NẠI,
THIỆT HẠI HOẶC TRÁCH NHIỆM PHÁP LÝ KHÁC NÀO TRONG PHẠM VI HỢP ĐỒNG, CÁC THIỆT HẠI HOẶC CÁCH KHÁC, PHÁT SINH TỪ, NGOÀI HOẶC
CÓ LIÊN KẾT VỚI PHẦN MỀM HOẶC VIỆC SỬ DỤNG HOẶC KINH DOANH KHÁC TẠI PHẦN MỀM.