diff options
| author | William Henrotin <whe@odoo.com> | 2019-08-21 07:53:25 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-09-20 12:39:04 +0000 |
| commit | 1067f3bda2957ff696f4dd6f8cc454e2b87b56b9 (patch) | |
| tree | e719863679491b3a84783dbb9479f299035596c1 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5e2ae036cfd035292f7148f823e8d54d74df915d (diff) | |
[IMP] mrp: compute quantities speedup
The computation of kit quantities was not efficient. A loop on each product
of the recordset to consider performed. Each time a product was seen as 'not a kit',
a new computation on the complete recordset was done. This leads to a N^2 complexity
This commit only compute stock quantities for non kit product in one batch
opw-2070768
closes odoo/odoo#37205
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
