Contributors mailing list archives

contributors@odoo-community.org

Re: Product variant import (performance issue)

by
Tecnativa. S. L., Pedro M. Baeza
- 26/01/2016 00:08:18
Do you really need to import that variants? You can try the module https://github.com/OCA/product-variant/pull/11 that prevents this creation, and then https://github.com/odoomrp/odoomrp-wip/tree/8.0/sale_product_variants for example (that we will port to OCA when the other is done) for using a configurator in sales that will create variants when needed.

Regards.

2016-01-26 0:38 GMT+01:00 Raphaël Valyi <rvalyi@akretion.com>:
An other idea: you could look at the SQL logs during the variant creation by Odoo. Then you temporarily patch the ORM to skip all the queries that are useless during the variant creation (like access rights checks etc...) not sure if that will be a faster hack though. Good luck.

On Mon, Jan 25, 2016 at 8:53 PM, Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com> wrote:
Hello,

I have to create/import one product with 8692 variants. I left the creation runs for more than hour, no success.

Before I create a csv file with all the different combinations, I would like to know if you have a better suggestion.

Thanks!
--
Maxime Chambreuil
Ring ID: 239e01f6262afbf3c7d276d2c661173ddddc0340

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe