summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_view/thread_view_tests.js
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-12-07 10:10:43 +0000
committerThibault Francois <tfr@openerp.com>2020-12-07 10:10:43 +0000
commite542c4121af098372c250a081635a44829e50406 (patch)
treedf89d2a89fe806adce1199cf062ab6febc08164c /addons/mail/static/src/components/thread_view/thread_view_tests.js
parent158e94692c1d2d5a533180238273060343263e95 (diff)
[FIX] hr: search on employee_id field raise bad query
Problem ------- A user with no read access on private employee (hr.employee) model will get a bad query error if he search on employee_id on res.users The new domain evaluation system generate query like this SELECT "hr_employee"."user_id" FROM "hr_employee_public" because the _search of hr.employee was not returning the search result from the right table Solution -------- Return a search result from the right table closes odoo/odoo#62944 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view/thread_view_tests.js')
0 files changed, 0 insertions, 0 deletions