summaryrefslogtreecommitdiff
path: root/addons/note/data/note_data.xml
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-02-04 16:12:08 +0000
committerRaphael Collet <rco@odoo.com>2020-02-08 18:55:15 +0000
commit4673a04c942342072b3ccd172b038f77abfdef91 (patch)
treec8521d3a6d44196c45a1a78d1a1ae0895561d5dc /addons/note/data/note_data.xml
parentc732a5e44fdb497446dade6b5c5ecc2ad2261345 (diff)
[FIX] base: don't swith back with su=False in _name_search
When you have su == True in your env and you call _name_search the _name_search was switching back to su = False when you call with_user with the same user or with None To reproduce the issue, take a model where a user has no access.control.list allowing to read the model call name_search with sudo. X-original-commit: 8755269f9877e039663adaec8500b530b6d67c68
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions