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>
11 lines
279 B
Python
11 lines
279 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import ir_qweb_fields
|
|
from . import ir_http
|
|
from . import ir_model
|
|
from . import ir_ui_menu
|
|
from . import models
|
|
from . import base_document_layout
|
|
from . import res_users
|