Before this commit, when a view was removed during a module update (eg: the record was deleted from the file), its COW views would not be deleted. This could lead to unwanted behaviors including tracebacks(1). This commit is somehow related/an extension ofb5fe23055dthat handle COW view write during module update and2e32cc5aa3that remove COW views during module uninstall. task-1931683 Note: Some existing tests had to be run post install (1) A view doing a t-call is COW'd, then that view and its t-called view are removed. If the cow view is not removed, the t-call will crash (see tests in this commit for detailed case). closes odoo/odoo#31295 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
6 lines
180 B
Python
6 lines
180 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_reset_views
|
|
from . import test_views_during_module_operation
|