summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/models/threads/dm_chat.js
diff options
context:
space:
mode:
authorRichard Mathot <rim@odoo.com>2020-02-06 12:53:37 +0000
committerRaphael Collet <rco@odoo.com>2020-02-10 16:22:24 +0000
commit9e78d55344046b58c0e9462850aba384f259a9e8 (patch)
tree778787a8f48158e1e1770223aae6524af07bb721 /addons/mail/static/src/js/models/threads/dm_chat.js
parentaea622b8c5ce5ab742d8288366e99e9090b2c7f1 (diff)
[FIX] models: ignore dependencies of fields inherited from custom fields
When adding a custom field, the ORM also adds it to all the inherits'ed models, but with the state `base`, because those inherited fields are automatic (created by the ORM). However, dependencies are enforced for `base` fields, while they can be ignored for `manual` ones. This is a problem when a custom field is fucked up: its inherited fields will make the registry crash. We fix the issue by not enforcing dependency check on fields inherits'ed from custom fields. opw-2191114 closes odoo/odoo#45024 X-original-commit: 2db0787dc9e8717200aaf1d71ac64df1c17f4143 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/dm_chat.js')
0 files changed, 0 insertions, 0 deletions