diff options
| author | Raphael Collet <rco@odoo.com> | 2020-11-18 13:01:07 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-11-19 11:11:41 +0000 |
| commit | 1022ed23e461a12415e3467b00e844851803ff1d (patch) | |
| tree | 7d54d318d9d4f007f2798c5d89a30e440bc6e67c /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 1fe9a5c886fcef34a5113fd77d74550c99a8a305 (diff) | |
[FIX] core: update of custom models in registry
When removing custom models from the registry, one also has to remove
indirect references to those model. One such reference is the name of
the custom model in its parent models' `_inherit_children`.
Not removing that reference causes a crash when one of the parent models
is extended: the parent model will make its children models recompute
some of their attributes (see method `_build_model_attributes`).
closes odoo/odoo#62002
X-original-commit: 07404bf5e93878b26468e2944c69885bbc688e57
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
