Search 1.9 billion lines of Odoo code on GitHub

base_name_search_improved

Author: Daniel Reis, Odoo Community Association (OCA), ADHOC SA
License: AGPL-3
Branch: 14.0-session_db-sbi
Repository: acsone/server-tools
Dependencies: base
Languages: HTML (398, 15.1%), PO File (1682, 64.0%), Python (274, 10.4%), XML (162, 6.2%), and reStructuredText (114, 4.3%)
Other branches: 11.0, 13.0, 13.0-bp-jsonifier-ape, 13.0-fix-cache-base_jsonify-ape, 13.0-fix-precommit-ape, 13.0-session_db-sbi, 13.0-update-dotfiles-sbi, 14-fix-mc-base_tech_user-dro, 14.0, 14.0-mass_mailing_mail_server-mle, 8.0, 8.0-add-mail-thread-child-ape, 8.0-backport_server_environment_ir_config_parameter-lmi, 8.0-brs_master, 8.0-fix-base_multi_image-dro, 8.0-incoming_mail_embedded_picture_reader-jne, 8.0-lih_master, 8.0-module_auto_update-sbi, 9.0, 9.0-add-base_user_role_history-bai, 9.0-add_auto_export_tbi, 9.0-add_slowquery_logger-tbi, 9.0-auth_admin_passkey-jne, 9.0-auth_admin_passkey_rebase_origin-jne, 9.0-backport-base-jsonify, 9.0-backport_sequence_check_digit_tbi, 9.0-fix-travis-dro, 9.0-forward_port_base_suspend_security_equality_tbi, 9.0-greenify-attempt-sbi, 9.0-mig-qweb_usertime-mgs, 9.0-multi_user_session, 9.0-onchange_helper-lmi, 9.0-ref_keychain_indexes_tbi, 9.0-server-environment-file-optional-lmi, 9.0-slg_master, improve-http-remote-user-security-sbi, lih_master, module_auto_update_refactor, pre-commit-cache-sbi, and smtp
Other repositories: 001101/server-tools, 020cui/server-tools, 0yik/server-tools, 111sree/server-tools, 2FM/server-tools, 50611/server-tools, 5songHb/server-tools, AEK-BKF/server-tools, AITIC/server-tools, AMhadhbi/server-tools, AbdelghaniDr/server-tools, AcruxLab/server-tools, Albin-John/server-tools, AlceConsorcio/server-tools, Alex-Woo/server-tools, Alfa-90/server-tools, AliaTechnologies/server-tools, App247/server-tools, ArkanSystem/server-tools, Artielkami/server-tools, Axon-System/server-tools, BCDR/server-tools, Banetese/server-tools, Benniphx/server-tools, Binariuz/server-tools, BonwareConsulting/server-tools, BradooDev/server-tools, BradooTech/server-tools, Bubbles-IT/server-tools, Burakebf/server-tools, CB-Gran-Canaria/server-tools, CGenie/server-tools, Callino/server-tools, Cedric-Pigeon/server-tools, Cgruppo/server-tools, ChanFeei/server-tools, Chandresh-SerpentCS/server-tools, Change2improve/server-tools, ChinaShrimp/server-tools, CiaranCheng/server-tools, Clear-ICT/server-tools, ClearCorp/oca-server-tools, CodeFishEG/server-tools, Colorlessgold/server-tools, ComitorDevTeam/server-tools, CompassionCH/server-tools, Comunitea/server-tools, Confidere/server-tools, ContrerasTorrez/server-tools, CrazyJET/server-tools, CustomOdoo/server-tools, DITIntl/server-tools, Daniel-CA/server-tools, Danielzhulin/server-tools, Danisan/server-tools, Dgaroc/server-tools, Digital5-Odoo/server-tools, Dike90/server-tools, Dobtor-OCA/server-tools, Domatix/server-tools, DucTruongKomit/server-tools, DulingLai/server-tools, EBII/server-tools, ERPLibre/server-tools, ErraticTurtle35/server-tools, EssentNovaTeam/server-tools, FedericoLaTorre/patches, Fenkiou/server-tools, FernandoCarlosGarcia/server-tools, FernandoRomera/server-tools, ForgeFlow/server-tools, GSLabIt/server-tools, Gabinete-Digital/server-tools, Gebesa-Dev/server-tools, GleydsonHudson/server-tools, GlobalManager/server-tools, Glue-Software-Engineering-AG/server-tools, Gofekra/server-tools, GowthamKalyan/server-tools, GreyShim/server-tools, GrupoAlvamex/server-tools, GuSWRolland/server-tools, Guobower/OCA-server-tools, HardikG/server-tools, HarshalBhoir/server-tools, Hellyna/server-tools, HomerDeoDatu/server-tools, Hothua/server-tools, Ingeos/server-tools, Intesco2-0/server-tools, IvanShirokikh/server-tools, Jagdish-Panchal/server-tools, JaimeAvellaneda/server-tools, Jarsa-dev/server-tools, Jarsa/server-tools, Jeisonpernia/server-tools, Jesus-Fernandez/server-tools, JibenCL/server-tools, Johnvonthegreat/server-tools, JuaniFreedoo/server-tools, JuniorKRnd/server-tools, Kayuulab/server-tools, Khwarizmiat/server-tools, KimWu/server-tools, Kiplangatdan/server-tools, Koesj/server-tools, KonaERP/server-tools, Korynkai/server-tools, KottmannM/server-tools, LasLabs/server-tools, LevelPrime/server-tools, LlywelynLi/server-tools, LourenzoH/server-tools, MadsackMediaStore/server-tools, Mahmoud-Alaa-Eldeen/server-tools, Manuel-Dellisse/server-tools, MariajMesa/server-tools, MasterBlaster479/server-tools, MathBenTech/server-tools, MediaJockey/server-tools, Mefistous/server-tools, Melodivo/server-tools, MindAndGo/server-tools, MjAbuz/server-tools, Morgana-Madamal/server-tools, MrFangD/server-tools, NGTS-AUS/server-tools, NL66278/server-tools, NaSol/server-tools, NeatNerdPrime/server-tools, NicolasWebDev/server-tools, Nowheresly/server-tools, Numigi/server-tools, OCA-MUK/server-tools, OCA/server-tools, ORETEK/server-tools, OctoComputer/server-tools, Odoo-Italia-Associazione/server-tools, OdooIndonesia/server-tools, OpenPymeMx/server-tools, Othniel1796/server-tools, OutillageStEtienne/server-tools, PCatinean/server-tools, PESOL/server-tools, PieterPaulussen/server-tools, PlanetaTIC/server-tools, Ppamungkas/server-tools, PrenorSistemas/server-tools, QubiQ/server-tools, RL-OtherApps/patches, Rad0van/server-tools, RealSolutionsLux/server-tools, Reinhard-sheng/server-tools, RicRichter/server-tools, Richardssen/server-tools, Rona111/server-tools, SHEFFIELDAFRICA/server-tools, SanteLibre/server-tools, Sarfarazsajjad/server-tools, ScopeaFrance/server-tools, SequarSrl/server-tools, SeuMarco/server-tools, SilviaLeonSanchez/server-tools, SilvioGregorini/server-tools, SimoRubi/server-tools, SimoneVagile/server-tools, SokreamPhanqrl/server-tools, SportPursuit/server-tools, StefanRijnhart/server-tools, StephanRozendaal/server-tools, Sunnyshine008/server-tools, Syci-Consulting/server-tools, TDu/server-tools, TRESCLOUD/server-tools, Tecnativa/server-tools, TemosEngenharia/server-tools, Therp/server-tools, Thorncrag/server-tools, TimLai125/server-tools, Tonow-c2c/server-tools, TradePilotLLC/server-tools, UakamiStudio/server-tools, UnknownInfo/server-tools, VanMoof/server-tools, VasiliyKorobatov/server-tools, Vauxoo/server-tools, VisiionSolucionesTecnologicas/server-tools, Wadios/server-tools, WiWaG/server-tools, WilldooIT/server-tools, WimSchuiteman/server-tools, X-ANS/server-tools, Yaman-als/server-tools, YannickB/server-tools, YogeshMahera-SerpentCS/server-tools, a0c/server-tools, aadarsh977/server-tools, aaltinisik/server-tools, abakus-it/server-tools, abdulhalim-cu/server-tools, abdulrhmans/server-tools, acsonefho/server-tools, adekock11/server-tools, adhoc-dev/patches, adhoc-dev/server-tools, adolfoeliazat/server-tools, adriansteel/server-tools, adrienpeiffer/server-tools, agenterp/server-tools, agknz/server-tools, ahilali/server-tools, ahmed3bdelhady88/server-tools, aitorbouzas/server-tools, ajaychauhan727/server-tools, ajayjaviya/server-tools, ajinvn2019/server-tools, akhdaniel/server-tools, akhilpsivan01/server-tools, akretion/server-tools, aktaaf/server-tools, alan80080/server-tools, albertvimlet/server-tools, alecvinent/server-tools, alesisjoan/server-tools, alessavindell/server-tools, alexlafalce/server-tools, alfadil/server-tools, alfieqashwa/server-tools, algiopensource/server-tools, alpham/server-tools, altexcorp/server-tools, altoch/server-tools, amarildogolloshi/server-tools, amcor/server-tools, amebalibre/server-tools, amendoncabh/server-tools, anasallaham/server-tools, anassahmed/server-tools, andriisem/server-tools, angedras/server-tools, angelmoya/server-tools, anhvu-sg/server-tools, anodino-dev/server-tools, ansinaesmejor/server-tools, antilhue/server-tools, antonyrajserpentcs/server-tools, apachesep/server-tools, apetbiz/server-tools, arafatx/server-tools, area-scm/server-tools, aremili/server-tools, arkhan/server-tools, aroodooteam/server-tools, artux404/server-tools, aryajimbaran/server-tools, ateijelo/server-tools, aurestic/server-tools, avanzosc/server-tools, avoinsystems/server-tools, aymanshow/server-tools, azmeuk/server-tools, azuaby/server-tools, bacgdev/server-tools, bacgroup/server-tools, bala07123/server-tools, bangil0/server-tools, baojiwei/server-tools, bealdav/server-tools, beenhere4hours/server-tools, berpweb/server-tools, bicomm/server-tools, bishalgit/server-tools-1, bistaray/server-tools, bjccdsrlcr/server-tools, blooparksystems/server-tools, bmya/server-tools, bodi000/server-tools, boky1993/server-tools, boutitinizar/server-tools, brain-tec/server-tools, brainbeanapps/server-tools, bud-e/server-tools, bvkl/server-tools, camptocamp/server-tools, captivea-dcr/server-tools, cedvict/server-tools, charyorde/server-tools, chdjdan/server-tools, cheikhousy/server-tools, chenwfal/server-tools, chianggq/server-tools, claro5/server-tools, cocox/server-tools, codewareuae/server-tools, cogitoweb/server-tools, connect-to-ak/server-tools, coopiteasy/server-tools, corsojulian7/server-tools, cristinamartinrod/server-tools, crnd-inc/server-tools, cuongpk/server-tools, dalal-intellisoft/server-tools, damdam-s/server-tools, damendieta/server-tools, danger89/server-tools, dani-xtendoo/server-tools, danimaribeiro/server-tools, daramousk/server-tools, darmali/server-tools, data-catalysis/server-tools, davidwah/server-tools, ddico/server-tools, ddufresne/server-tools, dek-odoo/server-tools, delgerS/server-tools, dennybiasiolli/server-tools, dev-tanvir/server-tools, dev00007/server-tools, devang-dreambits/server-tools, diagramsoftware/server-tools, diegobgl/server-tools, diggy128/server-tools, dipakthapaofficial/server-tools, diverfr/server-tools, dmp16/server-tools, dmsergio/server-tools, dndoanh/server-tools, don-systems/server-tools, dong-z/server-tools, dperaltab/server-tools, dreispt/server-tools, druidoo-dev/server-tools, dsasoftware/server-tools, dsonnet/server-tools, duyhnguyen/server-tools, dynamicats/server-tools, eLBati/server-tools, ebirbe/server-tools, ecosoft-odoo/server-tools, edsersolis/server-tools, eil00l/server-tools, elicoidal/server-tools, elperrofarelo/server-tools, emagdalenaC2i/server-tools, enocare/server-tools, erfanjahanshahlo/server-tools, eribowo/server-tools, ermannognan/server-tools, esantos-octagono/server-tools, etobella/server-tools, eversatis/server-tools, ewac-nl/server-tools, exosoftware/oca-server-tools, ezdoo/server-tools, factorlibre/server-tools, falconsoft3d/server-tools, fanha99/server-tools, fashkl/server-tools, felixvillafranca/server-tools, fengzoo2018/patches, ferdiansahgg/server-tools, findsomeoneyys/server-tools, flosslab/server-tools, fmdl/server-tools, focusate/oca-server-tools, forkme7/server-tools, foutoucour/server-tools, fslibre/server-tools, gab-net/server-tools, gabrielo77/server-tools, gastonfeng/server-tools, gavindav/server-tools, gitguohao/server-tools, goanzaloo/server-tools, gonxi/server-tools, gordan-cuic/server-tools, grant-thornton/server-tools, grap/server-tools, grindtildeath/server-tools, groventure/server-tools, gswf-sha/server-tools, guandalf/server-tools, gurneyalex/server-tools, gustavovalverde/server-tools, gxbsst/server-tools, gzanelli/server-tools, habbaba/server-tools, haidd/server-tools, haryoran04/server-tools, haublang/server-tools, hbrunn/server-tools, hchoog/server-tools, hdb1234/server-tools, henrryyanez/server-tools, hhgabelgaard/server-tools, hibou-io/oca-server-tools, hieulucky111/server-tools, hiisoc/server-tools, hilarak/server-tools, hinfo506/server-tools, hippe-67/server-tools, hokhyk/server-tools, holdenrehg/server-tools, hparfr/server-tools, hq8399/server-tools, huntergps/server-tools, hvcabaim/server-tools, i-vyshnevska/server-tools, iRichGit/server-tools, iamyeonhan/server-tools, ibanh/server-tools, ideaspositivas-group/server-tools, igallart/server-tools, igor-mitin/server-tools, ilesh-malani/server-tools, ilmir-k/server-tools, ingadhoc/patches, initOS/server-tools, insscn/server-tools, intero-chz/server-tools, invitu/server-tools, ip-candres/server-tools, isoscl/patches, it-projects-llc/server-tools, itblabla/server-tools, ixor3/server-tools, izzihector/server-tools, j-zaballa/server-tools, jaballate/server-tools, jackxusho/server-tools, jacky82669513/server-tools, janverb/server-tools, jaosss/server-tools, jcarlosmontoya/server-tools, jeanabreu/server-tools, jeanpaul-mupagasi/server-tools, jeroen7s/server-tools, jesmar81/server-tools, jesramirez/server-tools, jhjunior/server-tools, jhoengels/server-tools, jimmyec/server-tools, jmorgannz/server-tools, jnegrete/server-tools, jonathanjbbr/server-tools, joserprieto/server-tools, joshuajan/server-tools, josueBulle/server-tools, josuf567/server-tools, jphatig/server-tools, jriveros/server-tools, julenalgios/server-tools, julianram/server-tools, jweste/server-tools, kait-avalah/server-tools, kamilmuhammed/server-tools, kamsir/server-tools, kararaMohamed/server-tools, katyukha/server-tools, kelldave/server-tools, kenneth-vkd/server-tools, kevin070982/server-tools, khl2007/server-tools, kholioeg/server-tools, kikopeiro/server-tools, kittiu/server-tools, kmee/server-tools, kos94ok-3D/server-tools, krueger80/server-tools, kulius/server-tools, lasley/server-tools, lawrencekm/server-tools, leemannd/server-tools, legalsylvain/server-tools, lembregtse/server-tools, leonidasthe300/server-tools, lfreeke/server-tools, libregob/server-tools, lideritjnma/server-tools, liehu1/server-tools, lilotter45/server-tools, lincersolucoes/oca-server-tools, liweijie0812/server-tools, lnkdel/server-tools, loctv/patches, loftwah/server-tools, lonelyleaves/server-tools, lubonbvba/server-tools, luistorresm/server-tools, magedmnb/server-tools, magnuscolors/server-tools, maherjaballi/server-tools, mamcode/server-tools, marcelomora/server-tools, marionumza/server-tools, mart-e/server-tools, maulik-raval/server-tools, max3903/server-tools, mehdi-ghezal/server-tools, michotm/server-tools, microcom/server-tools, mikevhe18/server-tools, mikolodz/server-tools, mileo/server-tools, minhyk/server-tools, minorisa/server-tools, mivilsoft/server-tools, mjadily/server-tools, modoolar/server-tools, mohamedhagag/server-tools, monksoftware/server-tools, mozaik-association/server-tools, msdeek/server-tools, mulaudzicalvin/server-tools, multidadosti-erp/server-tools, mvaled/server-tools, myonnet/oca-server-tools, mysticalis/server-tools, nabiforks/server-tools, nabima/server-tools, nadiaafa/server-tools, naousse/server-tools, nebras-solutions/server-tools, necrodevz/server-tools, nehaksolves/server-tools, netoodoo/server-tools, newtratip/server-tools, nguyenductamlhp/server-tools, nicolasjelincic/server-tools, nilshamerlinck/server-tools, niulinlnc/server-tools, nodoo/server-tools, novacode-nl/server-tools, novawish/server-tools, ntsirintanis/server-tools, nuobit/server-tools, odof/server-tools, odoo-brazil/server-tools, odoo-etech/server-tools, odoo247/server-tools, odoobgorg/OCA-server-tools, odooerpdevelopers/server-tools, odoofans/patches, odoogap/server-tools, odoosoft/server-tools, odoospace/server-tools, omalbastin/patches, omalbastin/server-tools, omatute/server-tools, omerjafer88/server-tools, onaconsulting/server-tools, one2pret/server-tools, onesteinbv/server-tools, ontruck/server-tools, onurugur/server-tools, open-net-sarl/server-tools, open-synergy/server-tools, open2bizz/server-tools, osfp-Pakistan/server-tools, osiberp/server-tools, osiell/server-tools, osipaas/server-tools, p-tombez/server-tools, pedrocasi/server-tools, percypalomino/server-tools, petrus-v/server-tools, phillipstack/server-tools, phucngta/server-tools, piensom/server-tools, popcomputadores-desenv/server-tools, praxigento/oca-server-tools, presenceverte/server-tools, programadorzurita/server-tools, pscloud/server-tools, pythoner-3k/server-tools, qtheuret/server-tools, quentinDupont/server-tools, rafaelbn/server-tools, raizs/server-tools, ravibhattarai/server-tools, ravishekharco/server-tools, raycollazo/server-tools, rdeheele/server-tools, redcor/server-tools, revstech/server-tools, rezaakba123/server-tools, rhobo80/server-tools, richar-osse/server-tools, rifki/server-tools, rm-jamotion/server-tools, robertsvx27/server-tools, romendil/server-tools, ronozoro/server-tools, rossasa/server-tools, roussel2nis/server-tools, rousseldenis/server-tools, royalline1/patches, royalline1/server-tools, rrcfesc/server-tools, rrgaona/server-tools, rsmolyazhenko/server-tools, rsullivan2704/server-tools, rudisulistyo/server-tools, ruifranco/server-tools, rven/server-tools, rwfnf/server-tools, rwsdigital/odoo-server-tools, sadeqamin/server-tools, sailguest/server-tools, saltonmassally/server-tools, sanube/server-tools, savoirfairelinux/server-tools, schout-it/server-tools, sebalix/server-tools, selim-b/server-tools, sergiocorato/server-tools, serpentcs-dev1/server-tools, sewisoft/server-tools, shepilov-vladislav/server-tools, simahawk/server-tools, simone/server-tools, skmezanul/server-tools, skukered/server-tools, skyoj/server-tools, smile-888/server-tools, smurf-U/server-tools, sodexis/server-tools, soeethiha/server-tools, solvosci/server-tools, spacemonkeythe/server-tools, ssaid/server-tools, steingabelgaard/server-tools, striqo/server-tools, subteno-it/server-tools, sunflowerit/server-tools, sunshineLhj/server-tools, superjiel/server-tools, suprielfath/server-tools, svetbg/server-tools, swbs-co/server-tools, swiguna/server-tools, sylvainvh/server-tools, sysprocesarcastro/server-tools, t-np/server-tools, tafaRU/server-tools, takinobori/oca-server-tools, tansadio/server-tools, tanza9/server-tools, tarteo/server-tools, tedi3231/server-tools, tegin/server-tools, thinkopensolutions/oca-server-tools, thomas-willdooit/server-tools, tirma-sa/server-tools, tmasson/server-tools, tongjiou/server-tools, tqngoc/server-tools, traviswaelbro/server-tools, trevi-software/server-tools, tschanzt/server-tools, tsengeagle/server-tools, tstonis/server-tools, tuanna7593/server-tools, tusharkwagh99/server-tools, unitek-solusi/OCA-server-tools, ursais/server-tools, valenciaricardos/server-tools, valentinthirion/server-tools, valmarnet/server-tools, vcloud9ray/server-tools, vdedyukhin/server-tools, ventor-tech/server-tools, versada/server-tools, victoralmau/server-tools, victormmtorres/server-tools, vidtsin/patches, vinaybhawsar/server-tools, vmelnych/server-tools, wellyz/server-tools, westlyou/server-tools, widiana/server-tools, wilcobergacker/server-tools, willmakenoise/server-tools, wmr049/server-tools, wowerliu/server-tools, wuhuizhong/server-tools, www3838438/server-tools, xAlphaOmega/server-tools, xcgd/server-tools, xguerra/server-tools, xhair/server-tools, xichun/server-tools, xie8899/server-tools, xtjie/server-tools, xuanmu/server-tools, xwh123807/server-tools, xwh1238070/server-tools, yalabsio/server-tools, yangjizhou/server-tools, ycp1015/server-tools, ygdmxy/server-tools, yogakumboro/server-tools, yogesh-serpentcs/server-tools, ypapouin/server-tools, yuriqp/server-tools, yusniermatos/server-tools, yuzhengxing/server-tools, zakiuu/server-tools, zambee/server-tools, zamberjo/server-tools, zarumaru/server-tools, zeroincombenze/server-tools, zhangshunrao/server-tools, zhaohengzeng/server-tools, zhaohuaw/server-tools, zhujin001032/server-tools, zmakan-p/server-tools, and zmakrelouf/server-tools

<h1 class="title">Improved Name Search</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/base_name_search_improved"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_name_search_improved"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/149/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>Extends the name search feature to use additional, more relaxed matching methods, and to allow searching into configurable additional record fields.</p> <p>The name search is the lookup feature to select a related record. For example, selecting a Customer on a new Sales order.</p> <p>For example, typing &quot;john brown&quot; doesn't match &quot;John M. Brown&quot;. The relaxed search also looks up for records containing all the words, so &quot;John M. Brown&quot; would be a match. It also tolerates words in a different order, so searching for &quot;brown john&quot; also works.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image0.png" src="https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image0.png" /> </div> <p>Additionally, an Administrator can configure other fields to also lookup into. For example, Customers could be additionally searched by City or Phone number.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image2.png" src="https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image2.png" /> </div> <p>How it works:</p> <p>Regular name search is performed, and the additional search logic is only triggered if not enough results are found. This way, no overhead is added on searches that would normally yield results.</p> <p>But if not enough results are found, then additional search methods are tried. The specific methods used are:</p> <ul class="simple"> <li>Try regular search on each of the additional fields</li> <li>Try ordered word search on each of the search fields</li> <li>Try unordered word search on each of the search fields</li> </ul> <p>All results found are presented in that order, hopefully presenting them in order of relevance.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#other-credits" id="id8">Other credits</a></li> <li><a class="reference internal" href="#maintainers" id="id9">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>The fuzzy search is automatically enabled on all Models. Note that this only affects typing in related fields. The regular <code>search()</code>, used in the top right search box, is not affected.</p> <p>Additional search fields can be configured at Settings &gt; Technical &gt; Database &gt; Models, using the &quot;Name Search Fields&quot; field.</p> <div class="figure"> <img alt="Name Search Fields" src="https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image1.png" style="width: 600px;" /> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>Just type into any related field, such as Customer on a Sale Order.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Also use fuzzy search, such as the Levenshtein distance: <a class="reference external" href="https://www.postgresql.org/docs/9.5/static/fuzzystrmatch.html">https://www.postgresql.org/docs/9.5/static/fuzzystrmatch.html</a></li> <li>The list of additional fields to search could benefit from caching, for efficiency.</li> <li>This feature could also be implemented for regular <code>search</code> on the <code>name</code> field.</li> <li>While adding m2o or other related field that also have an improved name search, that improved name search is not used (while if name_search is customizend on a module and you add a field of that model on another model it works ok). Esto por ejemplo es en productos si agregamos campo &quot;categoría pública&quot; y a categoría pública le ponemos &quot;parent_id&quot;. Entonces vamos a ver que si buscamos por una categoría padre no busca nada, en vez si hacemos esa lógica en name_search de modulo si funciona</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20base_name_search_improved%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>Daniel Reis</li> <li>ADHOC SA</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id7">Contributors</a></h3> <ul class="simple"> <li>Daniel Reis &lt;<a class="reference external" href="https://github.com/dreispt">https://github.com/dreispt</a>&gt;</li> <li>Kitti U. &lt;<a class="reference external" href="mailto:kittiu&#64;ecosoft.co.th">kittiu&#64;ecosoft.co.th</a>&gt; (migrate to v14)</li> <li>Radovan Skolnik &lt;<a class="reference external" href="mailto:radovan&#64;skolnik.info">radovan&#64;skolnik.info</a>&gt;</li> </ul> <a name="other-credits"></a> <h3><a class="toc-backref" href="#id8">Other credits</a></h3> <p>The development of this module has been financially supported by:</p> <ul class="simple"> <li>Odoo Community Association</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id9">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/base_name_search_improved">OCA/server-tools</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>