summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAntoine Prieels (ANP) <anp@odoo.com>2018-12-28 08:20:28 +0000
committerAntoine Prieels (ANP) <anp@odoo.com>2018-12-28 08:49:17 +0000
commit186e70ad6c7ec10d67a813345b0f5192d438c930 (patch)
treebf729bbcda3a70ac76846b166f9b7b2a3d8a8e61 /addons/web/static/src/js/views/basic/basic_controller.js
parent3c243afe9451c782f867f6f545eee272d9af6b24 (diff)
[FIX] partner_autocomplete: Remove companies from suggestions
We wanted to make it possible to manually mark records from the partner_autocomplete service as 'ignored' so that they wouldn't appear in suggestions. Previously, this was done by removing, in the service, records that were marked as 'ignored' from returned suggestions. The problem is that, since the record was not present in odooSuggestions, the data from this company was retrieved from clearbitSuggestions and the company was still present in the dropdown. We fix this problem by also returning ignored companies from the service, marked as 'ignored', so that they can be filtered out after getting additional suggestions from clearbit. closes odoo/odoo#29785
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions