diff options
| author | Romain Derie <rde@odoo.com> | 2019-02-20 19:05:28 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-03-05 11:04:52 +0000 |
| commit | 5a81d88837c30365c9f06843715dfc9cbb2397f3 (patch) | |
| tree | 2c241c4e5062558a6cf22d93e746156782a7fdc7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | dfb5e3791f21b911f0d738caa4bb75eee4664bc5 (diff) | |
[FIX] website: delete cow view on module update
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 of b5fe23055d that handle COW view
write during module update and 2e32cc5aa3 that 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>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
