Custom Variant Creation

Create Single Variants Manually Bypassing Auto Generation

(0 reviews)
Sales

$80.0

One-time payment
Community Enterprise

Custom Variant Creation

Stop Odoo from generating thousands of unwanted variants. Take full control of your product catalogue with on-demand variant generation and smart attribute management.

App Overview

Introduction

By default, Odoo automatically generates product variants using a cartesian product of all attribute values. For a product with 3 colours, 4 sizes, and 3 materials, Odoo creates 36 variants instantly—most of which may never exist or be sold.

The Custom Variant Creation module disables this automatic generation and hands full control back to the user. A dedicated wizard lets you select precisely which attribute combination to create, generating only the variants your business actually offers.

Purpose

This is ideal for fashion, manufacturing, custom-order businesses, or any catalogue where not every theoretical combination is a real, sellable product. Large automated catalogues crash performance and confuse users; this module ensures your database remains light and your product lists stay clean.

Beyond simple creation, the module manages attribute consistency automatically using N/A placeholders, ensuring your eCommerce storefront and website_sale functions remain perfectly compatible with your custom SKU structure.

Key Features

🔒

Disable Auto-Generation

A per-product toggle bypasses Odoo’s cartesian engine entirely for specific templates.

🧙

On-Demand Wizard

Select exact attribute combinations manually and generate only the products you need.

N/A Backfill Mechanism

Automatically pads existing variants when new attributes are added to maintain technical integrity.

🔄

Smart Variant Upgrade

Upgrades N/A-padded records to real combinations instead of creating duplicates.

🛡

Duplicate Guard

Silently skips identical attribute combinations to prevent database clutter.

🌐

Website Compatibility

Full eCommerce support with overrides for possible combination logic.

🧹

Automatic Cleanup

Removes unused attribute lines and values when variants are archived or deleted.

🚫

Locked Attribute Lines

Prevents direct accidental edits to ensure the wizard's logic is always respected.

Configuration Steps

1

Easy Configuration

Enable "Custom Variant Creation" on the product template. This toggle disables automatic cartesian generation and unlocks the dynamic variant creation button in the header.

2

Open Variant Wizard

Click the Create Variant button in the product form header. The wizard opens in a dialog with the product template pre-filled, ready for your attribute selection.

3

Efficient Variant Management

Manage all generated variants in a clean, organized list view. You can easily track internal references, barcodes, and specific pricing for each custom-created combination.

4

eCommerce Ready

Your custom variants are automatically synchronized with your Odoo eCommerce website. Customers can select and purchase only the real, existing combinations you have created.

Frequently Asked Questions

Q1: Can I use Odoo’s standard variant creation for some products?
Yes. The Custom Variant Creation toggle is per product template. Products without the toggle enabled continue to use Odoo’s standard automatic generation. Both modes coexist perfectly.
N/A is a placeholder created to satisfy technical requirements. It is never exposed to website visitors; our integration ensures only real, user-selected attributes are shown in the product configurator.
Yes. If you select multiple values (e.g. Colour: Red, Blue) and one size (Size: S), the wizard creates two variants (Red/S and Blue/S) in a single run.
The module silently skips exact duplicates. No error is raised and no duplicate records are created. You can safely re-run the wizard with overlapping inputs.
The automatic cleanup method runs, removing any attribute lines or values no longer referenced by any active variant, keeping the product form clean.
Yes, as long as variants haven't been used in confirmed transactions. If they are referenced in orders or invoices, a UserError will protect your data integrity.
Yes. A full TransactionCase test suite is included, covering multi-attribute creation, N/A backfills, and eCommerce validation.

Technical Details

Dependencies

• eCommerce (website_sale)
• Discuss (mail)
• Website (website)
• Invoicing (account)


License

OPL-1

Need Assistance?

Email Support

contact@gritxi-tech.com

Any Questions?

Inquiry

Have questions about this app?

Fill out the form below and our team will get back to you with more information.

Customer Reviews

Share your experience with this module.

Write a Review
Latest Reviews

No reviews yet. Be the first to share your thoughts!