summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2020-02-06 08:28:26 +0000
committerChristophe Monniez <moc@odoo.com>2020-03-02 16:09:12 +0000
commit5533490b46557c18e4b828910bbc5f4d59389ce3 (patch)
tree93de90d0f13af2fd7c97b746758db2d69d792798 /addons/web/static/src/js/views/basic/basic_renderer.js
parent0453566a76dff0a52e1f087808618dd562dfb46a (diff)
[FIX] ir_model: avoid records duplicates in dichotomy
When uninstalling a module, all related ir.model.data records are unlinked, if the unlink fails, a dichotomy is performed until all records are unlinked. It happens that a record appears in both part of the dichotomy. In that case, the record is deleted in the first part. When second part records are unlinked, a crash occurs because the record cannot be found anymore. With this commit, sets are used instead of lists to store the records that need to be removed, avoiding duplicates in dichotomy. closes odoo/odoo#46323 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions