diff options
| author | Adrian Torres <adt@odoo.com> | 2017-12-26 07:27:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-26 07:27:25 +0000 |
| commit | 14f80bfae66f2c81abb0b8acc0ac558c60ef1d44 (patch) | |
| tree | 8f1a17020fedb9877aa4b772e273d6913f9e4b6a /addons/web/static/src/js/framework/utils.js | |
| parent | a19c4629027cf7513c24f34098a176848d44d95a (diff) | |
[FIX] mail: delete leftover followers
[FIX] mail: delete leftover followers
Previous to this commit, if during the unlink of a model which inherits
from mail.thread an exception is raised before mail.thread's unlink() is
called, followers for such model won't be properly deleted from the
database.
This commit changes this by overriding ir_model's unlink and deleting any
followers whose res_model is not installed.
Partial back-port of 3614193
Fixes #21462
OPW 786790
Diffstat (limited to 'addons/web/static/src/js/framework/utils.js')
0 files changed, 0 insertions, 0 deletions
