Is there a limit to how many variants a product can have in V13?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
I think the question is about how many product variants are allowed to be created with one product.
I found the system alerted me when I tried to put a lot of product attribute values (80 for first attribute, 2 for second, and 6 for third = 80x2x6 variants (it's very special product). The system alerted it's too much and it cannot create, then I solved that by remove the 2 of second attribute and the system is Ok.
So, I think it would be good to know the limitation of the system the maximum product variants for each main product because we may need to think about this in some special case.
Hello,
to: Andrew
It means 1000 per product.
Instead of product variants it is possible to use product options.
With some third party module like:
https://apps.odoo.com/apps/modules/13.0/product_custom_options/
Product options usually don't have inventory (in stock) and shipping weight.
But maybe it is possible to add some inventory tracking and weight with custom coding or extra modules.
The best way is when possible to mix product variant options with product options and make them dependent on each other.
Stanislav
Hello Vijai,
We cannot limit the number of Variants in Odoo by default.
However, in Odoo 13 there are three options in product attributes that are:
1) Instantly: The variants are created as soon as the attributes and its values are added.
2) Dynamically: The variants are created when its combination is selected in any sale order.
3) Never: The variants are never created.
Hence, to limit the variant I would suggest you to use the attribute types Dynamically or never.
I hope this will help you!
Regards
--
Technical Content Writer (ODOO)
The search facility when adding a product to a quotation (V14) only seems to load 300 variants
In odoo 13, the limit is hardcoded to 1000 variants per template.
See addons > product > models > product_template.py (line 608)
if len(current_variants_to_create) > 1000:
raise UserError(_(
'The number of variants to generate is too high. '
'You should either not generate variants for each combination or generate them on demand from the sales order. '
'To do so, open the form view of attributes and change the mode of *Create Variants*.'))
variants_to_create += current_variants_to_create
variants_to_activate += current_variants_to_activate
I just ran into this problem. By "Template" does this mean 1,000 variants for all products in total. Or 1,000 variants per product?
Per product
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
4
квіт. 24
|
2033 | ||
|
1
бер. 22
|
3627 | ||
|
6
трав. 20
|
3221 | ||
|
3
квіт. 25
|
3502 | ||
|
2
лист. 24
|
1413 |