Skip to content
Snippets Groups Projects
Commit 408175a7 authored by Miquel Raïch's avatar Miquel Raïch
Browse files

[FIX] base: deleting selection fields of non tabled models


When a model selection record is going to be deleted, a _process_ondelete method is called in order to delete all the records of the corresponding model that have that selection. These records are obtained by calling _get_records, which uses a query that needs a table. Thus, we should avoid cases for non-abstract models that have _auto = False.

closes odoo/odoo#132751

Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
parent 56a53e90
No related branches found
No related tags found
Loading
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