Files
odoo_source/odoo
Miquel Raïch fd53a6bac6 [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#133118

X-original-commit: 408175a727ecbca88957a9d63d8ec28f3e54c9df
Signed-off-by: Raphael Collet <rco@odoo.com>
2023-08-25 10:59:48 +02:00
..
…