travis-ci
[FIX] product: variant num w/o prefetch pollution (backport) This is a backport from https://github.com/odoo/odoo/commit/05a00fa9d When getting: - product_variant_count, - sales_count, of a product.product, we would pollute the records to be prefetched by all the variants when counting the number of variants. Thus if this happened before sales_count, we would possibly compute the sales_count for up to 1000 records when it could have been needed for just one. By using `.with_prefetch()`, a recordset will have its own records to be prefetched list and will not pollute the original one.
6425 of 9290 relevant lines covered (69.16%)
1.76 hits per line
The commit SHA "fafb339a4aaad9a164aac867494b726336815fd4" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.