Skip to content
Snippets Groups Projects
Commit 1daf8eb1 authored by Adrian Torres's avatar Adrian Torres Committed by Raphael Collet
Browse files

[FIX] *: set ondelete policy of required Selection fields


With this commit, Selection fields with `required=True` which are
extended via `selection_add` are given proper ondelete policies to
ensure the cleanup of records containing these extended options during
uninstall of the extending module.

This commit also cleans up leftover uninstall hooks that were being used
to handle the same set of problems prior to the ondelete mechanism being
implemented for Selection fields.

closes odoo/odoo#46325

Related: odoo/enterprise#9117
Signed-off-by: default avatarRaphael Collet (rco) <rco@openerp.com>
parent f0481392
No related branches found
No related tags found
No related merge requests found
Showing
with 60 additions and 37 deletions
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