Before this commit, when the user wants to self assign to a task for instance, he has to write his name to be able to select himself. This commit displays the current user first in the result of `name_search` (the method called by relational widgets in JS). If the current user does not satisfy the search condition then he will not be in the result of the `name_search`. task-3291745 closes odoo/odoo#121146 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
21 lines
611 B
Python
21 lines
611 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_db_manager
|
|
from . import test_health
|
|
from . import test_image
|
|
from . import test_ir_model
|
|
from . import test_js
|
|
from . import test_menu
|
|
from . import test_click_everywhere
|
|
from . import test_base_document_layout
|
|
from . import test_load_menus
|
|
from . import test_profiler
|
|
from . import test_session_info
|
|
from . import test_read_progress_bar
|
|
from . import test_assets
|
|
from . import test_assets_xml
|
|
from . import test_login
|
|
from . import test_web_search_read
|
|
from . import test_web_redirect
|
|
from . import test_res_users
|