diff --git a/base_name_search_improved/README.rst b/base_name_search_improved/README.rst index af51fdf1d..c552acb04 100644 --- a/base_name_search_improved/README.rst +++ b/base_name_search_improved/README.rst @@ -7,7 +7,7 @@ Improved Name Search !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:88daa951eef68e162381052878cb525cb0c1e6b0a72cd2a1f9d138dca31bd6f4 + !! source digest: sha256:5527c4c2ccf479b110e1932003e728cba146a25044782418a2bf015f00a548bd !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -41,12 +41,12 @@ so "John M. Brown" would be a match. It also tolerates words in a different order, so searching for "brown john" also works. -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image0.png +.. figure:: https://raw.githubusercontent.com/OCA/server-tools/16.0/base_name_search_improved/images/image0.png Additionally, an Administrator can configure other fields to also lookup into. For example, Customers could be additionally searched by City or Phone number. -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image2.png +.. figure:: https://raw.githubusercontent.com/OCA/server-tools/16.0/base_name_search_improved/images/image2.png How it works: @@ -72,14 +72,15 @@ hopefully presenting them in order of relevance. Configuration ============= -The fuzzy search is automatically enabled on all Models. -Note that this only affects typing in related fields. -The regular ``search()``, used in the top right search box, is not affected. +Go to Settings > Smart Searches +Remove default filter to see all Models +Choose the Modlel you want to configure and choose your options (Smart Search, +Smart Name Search, Domain, Smart Search fields) -Additional search fields can be configured at Settings > Technical > Database > Models, -using the "Name Search Fields" field. +In the example, we choose to activate improved search for Contacts (partners) and +Products. Furthermore user can search a contact typing their city name -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image1.png +.. figure:: https://raw.githubusercontent.com/OCA/server-tools/16.0/base_name_search_improved/images/image1.png :alt: Name Search Fields :width: 600 px diff --git a/base_name_search_improved/images/image1.png b/base_name_search_improved/images/image1.png index 855dbb1a2..1aa72e822 100644 Binary files a/base_name_search_improved/images/image1.png and b/base_name_search_improved/images/image1.png differ diff --git a/base_name_search_improved/readme/CONFIGURE.rst b/base_name_search_improved/readme/CONFIGURE.rst index e4d666e8b..fe8b1bcfe 100644 --- a/base_name_search_improved/readme/CONFIGURE.rst +++ b/base_name_search_improved/readme/CONFIGURE.rst @@ -1,10 +1,11 @@ -The fuzzy search is automatically enabled on all Models. -Note that this only affects typing in related fields. -The regular ``search()``, used in the top right search box, is not affected. +Go to Settings > Smart Searches +Remove default filter to see all Models +Choose the Modlel you want to configure and choose your options (Smart Search, +Smart Name Search, Domain, Smart Search fields) -Additional search fields can be configured at Settings > Technical > Database > Models, -using the "Name Search Fields" field. +In the example, we choose to activate improved search for Contacts (partners) and +Products. Furthermore user can search a contact typing their city name -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image1.png +.. figure:: ../images/image1.png :alt: Name Search Fields :width: 600 px diff --git a/base_name_search_improved/readme/DESCRIPTION.rst b/base_name_search_improved/readme/DESCRIPTION.rst index a35c57e46..4d8c9903d 100644 --- a/base_name_search_improved/readme/DESCRIPTION.rst +++ b/base_name_search_improved/readme/DESCRIPTION.rst @@ -11,12 +11,12 @@ so "John M. Brown" would be a match. It also tolerates words in a different order, so searching for "brown john" also works. -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image0.png +.. figure:: ../images/image0.png Additionally, an Administrator can configure other fields to also lookup into. For example, Customers could be additionally searched by City or Phone number. -.. figure:: https://raw.githubusercontent.com/OCA/server-tools/11.0/base_name_search_improved/images/image2.png +.. figure:: ../images/image2.png How it works: diff --git a/base_name_search_improved/static/description/index.html b/base_name_search_improved/static/description/index.html index e4652116d..4f1c62f4a 100644 --- a/base_name_search_improved/static/description/index.html +++ b/base_name_search_improved/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:88daa951eef68e162381052878cb525cb0c1e6b0a72cd2a1f9d138dca31bd6f4 +!! source digest: sha256:5527c4c2ccf479b110e1932003e728cba146a25044782418a2bf015f00a548bd !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
Extends the name search feature to use additional, more relaxed @@ -381,12 +381,12 @@ so “John M. Brown” would be a match. It also tolerates words in a different order, so searching for “brown john” also works.
Additionally, an Administrator can configure other fields to also lookup into. For example, Customers could be additionally searched by City or Phone number.
How it works:
Regular name search is performed, and the additional search logic is only @@ -419,13 +419,14 @@ hopefully presenting them in order of relevance.
The fuzzy search is automatically enabled on all Models. -Note that this only affects typing in related fields. -The regular search(), used in the top right search box, is not affected.
-Additional search fields can be configured at Settings > Technical > Database > Models, -using the “Name Search Fields” field.
+Go to Settings > Smart Searches +Remove default filter to see all Models +Choose the Modlel you want to configure and choose your options (Smart Search, +Smart Name Search, Domain, Smart Search fields)
+In the example, we choose to activate improved search for Contacts (partners) and +Products. Furthermore user can search a contact typing their city name