summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-10-14 06:34:10 +0000
committerThibault Francois <tfr@openerp.com>2020-10-14 13:05:22 +0000
commitd11c2f120925a1658832262de44171af85f70184 (patch)
treec92f02270b1fd532118dcf8e426fbc65f9952a77 /addons/web/static/src/js/views/basic/basic_model.js
parenta9b32448c4a6227ef8e729436cb793ea9c24c289 (diff)
[FIX] sms: fix name_search
Problem ------- _search_is_mail_thread_sms is looking for ir.model in the database and then fetch them from the registry without verification. This can lead to key error when a model is present in the database but not in the python anymore. This situation can happen after a migration. Solution -------- Check the model is present in the registry closes odoo/odoo#59998 X-original-commit: 448626d86a1f06b9f8a7a88111f7cb01600488cd Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions