Auto Product Code Generation
by T.V.T Marine Automation (aka TVTMA) https://viindoo.com/apps/app/18.0/to_product_code_sequence , Viindoo https://viindoo.com/apps/app/18.0/to_product_code_sequence$ 15.56
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 143 |
| Technical Name |
to_product_code_sequence |
| License | OPL-1 |
| Website | https://viindoo.com/apps/app/17.0/to_product_code_sequence |
| Versions | 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 |
Demo video: Auto Product Code Generation
Description
This module provides automatic Internal Reference (default_code) generation for Products and Variants.
Key Features
- Enable/disable auto code generation per company in Settings.
- Auto-generate Internal Reference: * Code is generated from Product Category config (Sequence + Product Code Prefix). * If the category is not configured and the "Get code from product name" option is enabled, the system creates a prefix from the first letter of each word in the Product Name. * Internal Reference is only auto-generated when the field is empty.
- Bulk update: * Action Update Product Code on Product and Variant to regenerate codes for selected records (this action overwrites existing codes).
Benefits
- Less manual entry of internal codes.
- Standardize code rules by product category.
Who should use
- Businesses with many products/variants that need to standardize internal codes by product group.
Technical note
- The "Get code from product name" option is configured by system parameter to_product_code_sequence.product_code_from_name.
Supported Editions
- Community Edition
- Enterprise Edition
Installation
- Navigate to Apps.
- Search with keyword to_product_code_sequence.
- Press Install.
Instruction
Instruction video: Auto Product Code Generation
1. Enable the Automatic Product Code Generation feature
Navigate to the Settings and check the box to enable this feature on the Units of Measure section in the General settings to use in inventory management.
2. Configure product code generation rule
Navigate to Inventory > Configuration > Product Categories, add configure the following information:
- Product Code Prefix;
- Product Sequence.
3. Create a product
When you create a new product, select the Product Category set up in the previous step, and an internal reference code will be automatically generated for this product according to the configured rules.
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
There are no ratings yet!
According to the video tutorial, after selecting the product category, the encoding cannot be automatically generated. Please help