Skip to content
Snippets Groups Projects
Commit 13f02a60 authored by Nicolas Seinlet's avatar Nicolas Seinlet Committed by Ivan Yelizariev
Browse files

[FIX] registry: avoid dropping indexes


When an index has name 'tablename_fieldname_index', this index is
dropped if the field has index=False.  This lead to dropping a
user-created index or dropping/recreating the index when index=True is
set in a dependent module.  Some info is logged instead.

closes odoo/odoo#66700

closes odoo/odoo#71761

Signed-off-by: default avatarRaphael Collet (rco) <rco@openerp.com>
parent 7ba56a2d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment