summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2020-11-12 12:35:39 +0000
committerRaphael Collet <rco@odoo.com>2020-11-19 11:11:41 +0000
commit1fe9a5c886fcef34a5113fd77d74550c99a8a305 (patch)
tree1579d947996fdbd3995f1ffaacedd8641d48c884 /addons/mail/static/src/models/thread_cache/thread_cache.js
parentb325266bc9d3893e037b3fd8d734ac7d3d510c41 (diff)
[FIX] registry: unit test for #60899
The field `display_name` is a magic field automatically added to all models. On a custom model, it depends on `x_name`. As it is automatically added by the ORM, `display_name` is considered a `base` field, while `x_name` is considered a `manual` field. On loading the transitive dependencies of `display_name` of a custom model, for which the loading of the `x_name` has been skipped because it depends on field not yet loaded, the exception was not ignored because exceptions are ignored only for `manual` field, and `display_name` is considered a `base` field. Upgrade request 56274 X-original-commit: e57e2798ed7871967487d953ffcdc10884bcf9a2 Co-authored-by: Raphael Collet <rco@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions