diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-07 10:01:49 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-10 10:16:21 +0000 |
| commit | a46dbae071999902e8519af91674a84aa660f762 (patch) | |
| tree | 090a5f1f56949bdcafdf9d8366622662cebb244a /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 295a6542833599fe4d05fea4f5cc4e360bcf98c8 (diff) | |
[FIX] base: disable prefetching during module uninstall
During uninstallation of a module, recompute operations may be triggered.
The prefetch might thus try to read a column that has already been deleted.
Install CRM, create an opportunity then schedule a meeting
(itself a calendar event linked to the opportunity).
Note that the CRM module adds an opportunity_id field on events.
When you try to uninstall the module, the bug is triggered.
The calendar model contains a res_model field, which is related to res_model_id.
Its recompute triggers the prefetching of the opportunity_id field,
which has already been removed.
opw 1917354
closes odoo/odoo#29979
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
