Contributors mailing list archives
Re: Product variant import (performance issue)by
Tecnativa. S. L., Pedro M. Baeza
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 <firstname.lastname@example.org>:
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 <email@example.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!