summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authormcm-odoo <mcm@odoo.com>2019-11-12 14:03:21 +0000
committerThibault Delavallée <tde@odoo.com>2019-12-12 10:28:47 +0000
commit32d8caf08812bb027e228ef2e866ae268d7053b8 (patch)
tree14acf36ba2ab32868f2eb8203434e452e9fd0502 /addons/web_editor/static/src/xml/editor.xml
parent90bf317c013323ed9f6195d61440e2bd0e09ac2c (diff)
[IMP] crm: allow searching leads by phone or mobile numbers
PURPOSE Purpose of this commit is to allow users to look for leads and opportunities by using the phone/mobile number fields. For example this allows salesmen working in call centers to quickly retrieve all open opportunities of a specific caller. SPECIFICATIONS Add a phone_search field allowing to implement a search on both phone and mobile fields. Allow searching independently from local format used to store the phone number. Imagine we have leads with phone or mobile number that looks like ``+32 485 11 22 33``. We want to find this lead even when typing ``485112233``. A custom search method is therefore implemented. It uses only the digits in the phone or mobile number to perform the search. A limitation is added on search having to contain at last 3 digits. Indeed as it returns a domain whose leaf is ``[('id', 'in', ids)]`` it may be huge for production databases. LINKS Task 2122873 PR #40131 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions