diff --git a/base_search_fuzzy/README.rst b/base_search_fuzzy/README.rst
index bcc1a17e6..7775805b6 100644
--- a/base_search_fuzzy/README.rst
+++ b/base_search_fuzzy/README.rst
@@ -14,13 +14,13 @@ Fuzzy Search
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
- :target: https://github.com/OCA/server-tools/tree/11.0/base_search_fuzzy
+ :target: https://github.com/OCA/server-tools/tree/12.0/base_search_fuzzy
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-base_search_fuzzy
+ :target: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_search_fuzzy
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/149/11.0
+ :target: https://runbot.odoo-community.org/runbot/149/12.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -28,7 +28,7 @@ Fuzzy Search
This addon provides the ability to create GIN or GiST indexes of char and text
fields and also to use the search operator `%` in search domains. Currently
this module doesn't change the backend search or anything else. It provides
-only the possibilty to perfrom the fuzzy search for external addons.
+only the possibility to perform the fuzzy search for external addons.
**Table of contents**
@@ -66,7 +66,7 @@ Usage
#. You can tweak the number of strings to be returned by adjusting the set
limit (default: 0.3). NB: Currently you have to set the limit by executing
- the following SQL statment:
+ the following SQL statement:
``self.env.cr.execute("SELECT set_limit(0.2);")``
@@ -93,7 +93,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
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
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -114,7 +114,11 @@ Contributors
* Jordi Ballester
* Serpent Consulting Services Pvt. Ltd.
* Dave Lasley
-* Vicent Cubells
+
+* `Tecnativa `_:
+
+ * Vicent Cubells
+ * Ernesto Tejeda
Maintainers
~~~~~~~~~~~
@@ -129,6 +133,6 @@ 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.
-This module is part of the `OCA/server-tools `_ project on GitHub.
+This module is part of the `OCA/server-tools `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/base_search_fuzzy/__manifest__.py b/base_search_fuzzy/__manifest__.py
index 0c935541d..4a95e43d8 100644
--- a/base_search_fuzzy/__manifest__.py
+++ b/base_search_fuzzy/__manifest__.py
@@ -5,8 +5,8 @@
'name': "Fuzzy Search",
'summary': "Fuzzy search with the PostgreSQL trigram extension",
'category': 'Uncategorized',
- 'version': '11.0.1.0.0',
- 'website': 'https://odoo-community.org/',
+ 'version': '12.0.1.0.0',
+ 'website': 'https://github.com/OCA/server-tools',
'author': 'bloopark systems GmbH & Co. KG, '
'Eficent, '
'Serpent CS, '
diff --git a/base_search_fuzzy/models/trgm_index.py b/base_search_fuzzy/models/trgm_index.py
index cb31a3dc5..1d5aaf4d7 100644
--- a/base_search_fuzzy/models/trgm_index.py
+++ b/base_search_fuzzy/models/trgm_index.py
@@ -17,6 +17,7 @@ class TrgmIndex(models.Model):
_name = 'trgm.index'
_rec_name = 'field_id'
+ _description = 'Trigram Index'
field_id = fields.Many2one(
comodel_name='ir.model.fields',
diff --git a/base_search_fuzzy/readme/CONTRIBUTORS.rst b/base_search_fuzzy/readme/CONTRIBUTORS.rst
index 1a545b521..1e3d23908 100644
--- a/base_search_fuzzy/readme/CONTRIBUTORS.rst
+++ b/base_search_fuzzy/readme/CONTRIBUTORS.rst
@@ -2,4 +2,8 @@
* Jordi Ballester
* Serpent Consulting Services Pvt. Ltd.
* Dave Lasley
-* Vicent Cubells
+
+* `Tecnativa `_:
+
+ * Vicent Cubells
+ * Ernesto Tejeda
diff --git a/base_search_fuzzy/readme/DESCRIPTION.rst b/base_search_fuzzy/readme/DESCRIPTION.rst
index c5fa740b1..c60300497 100644
--- a/base_search_fuzzy/readme/DESCRIPTION.rst
+++ b/base_search_fuzzy/readme/DESCRIPTION.rst
@@ -1,4 +1,4 @@
This addon provides the ability to create GIN or GiST indexes of char and text
fields and also to use the search operator `%` in search domains. Currently
this module doesn't change the backend search or anything else. It provides
-only the possibilty to perfrom the fuzzy search for external addons.
+only the possibility to perform the fuzzy search for external addons.
diff --git a/base_search_fuzzy/readme/USAGE.rst b/base_search_fuzzy/readme/USAGE.rst
index 9844367a8..2f667ac81 100644
--- a/base_search_fuzzy/readme/USAGE.rst
+++ b/base_search_fuzzy/readme/USAGE.rst
@@ -8,7 +8,7 @@
#. You can tweak the number of strings to be returned by adjusting the set
limit (default: 0.3). NB: Currently you have to set the limit by executing
- the following SQL statment:
+ the following SQL statement:
``self.env.cr.execute("SELECT set_limit(0.2);")``
diff --git a/base_search_fuzzy/static/description/index.html b/base_search_fuzzy/static/description/index.html
index 040afc26a..73fc9b667 100644
--- a/base_search_fuzzy/static/description/index.html
+++ b/base_search_fuzzy/static/description/index.html
@@ -367,11 +367,11 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This addon provides the ability to create GIN or GiST indexes of char and text
fields and also to use the search operator % in search domains. Currently
this module doesn’t change the backend search or anything else. It provides
-only the possibilty to perfrom the fuzzy search for external addons.
+only the possibility to perform the fuzzy search for external addons.
Table of contents
@@ -420,7 +420,7 @@ or John Mill.
You can tweak the number of strings to be returned by adjusting the set
limit (default: 0.3). NB: Currently you have to set the limit by executing
-the following SQL statment:
+the following SQL statement:
self.env.cr.execute("SELECT set_limit(0.2);")
Another interesting feature is the use of similarity(column, 'text')
@@ -446,7 +446,7 @@ followed:
Bugs are tracked on GitHub Issues.
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
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -476,7 +480,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
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.
-
This module is part of the OCA/server-tools project on GitHub.
+
This module is part of the OCA/server-tools project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/base_search_fuzzy/tests/test_query_generation.py b/base_search_fuzzy/tests/test_query_generation.py
index 024ce1653..25dce0bc6 100644
--- a/base_search_fuzzy/tests/test_query_generation.py
+++ b/base_search_fuzzy/tests/test_query_generation.py
@@ -74,7 +74,7 @@ class QueryGenerationCase(TransactionCase):
return
if not self.TrgmIndex.index_exists('res.partner', 'name'):
- field_partner_name = self.env.ref('base.field_res_partner_name')
+ field_partner_name = self.env.ref('base.field_res_partner__name')
self.TrgmIndex.create({
'field_id': field_partner_name.id,
'index_type': 'gin',