Commit Graph

19 Commits (9effd5359e8a0b06e738bbc12f0af36ba90cf5dc)

Author SHA1 Message Date
OCA-git-bot 503a75f2a8 [UPD] README.rst 2023-07-17 12:38:27 +00:00
oca-ci a84e9057e7 [UPD] Update attachment_unindex_content.pot 2023-07-17 12:29:02 +00:00
Sébastien Alix 17a9ea368d [MIG] attachment_unindex_content: Migration to 15.0 2023-07-17 14:02:42 +02:00
OCA-git-bot 15e23fefd4 attachment_unindex_content 14.0.1.0.1 2023-07-17 13:57:11 +02:00
OCA-git-bot b906bb7166 [UPD] README.rst 2023-07-17 13:57:11 +02:00
Luis González 209257bdf5 [FIX] attachment_unindex_content: unsupported param on _index method
Odoo introduced a new param `checksum` to the method `_index` on the
attachment model [1]. Since that param is not supported on this model,
the following error is now being raised:

    TypeError: _index() got an unexpected keyword argument 'checksum'

[1] https://github.com/odoo/odoo/commit/3d59cc84
2023-07-17 13:57:11 +02:00
Ignacio Buioli d6f8b28d55 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-14.0/server-tools-14.0-attachment_unindex_content
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-attachment_unindex_content/es_AR/
2023-07-17 13:57:11 +02:00
Ignacio Buioli 6fa446a7a3 Added translation using Weblate (Spanish (Argentina)) 2023-07-17 13:57:11 +02:00
Dept. Técnico 21e85d4546 Added translation using Weblate (Catalan) 2023-07-17 13:57:11 +02:00
OCA-git-bot 1acaa8d36a [UPD] README.rst 2023-07-17 13:57:11 +02:00
oca-travis b0ff27e8de [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Randall Castro b36ae72a8d [MIG] attachment_unindex_content: Migration to 14.0 2023-07-17 13:57:11 +02:00
OCA-git-bot fc246385dc [UPD] README.rst 2023-07-17 13:57:11 +02:00
oca-travis d61764e5a6 [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Randall Castro 688ed0cce7 [MIG] attachment_unindex_content: Migration to 13.0 2023-07-17 13:57:11 +02:00
Randall Castro f7d47fc13c [IMP] attachment_unindex_content: black, isort, prettier 2023-07-17 13:57:11 +02:00
OCA-git-bot ad1351d20e [ADD] icon.png 2023-07-17 13:57:11 +02:00
oca-travis c2f73e6353 [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Erick Birbe 861fd3cdd4 [ADD] attachment_unindex_content: Module to disable file indexation
This module is intended to disable the indexation of data on the
ir.attachment model.

Attachment model has a field called 'index_content' where the content
of the attachment is read and stored directly in the database. This field is
useful in order to search content of a file. But most of cases it is not used,
so, you can install this module in order to:

- **Avoid Duplicating Data:** Because indexation extracts text content
from files and put it on the database in order it could be searched, but
this implies you have the file data in your `filestore` directory, and
also part (or sometimes all) of that data in your database too.
- **Improve Performance:** Since not all indexed files are plain text, they
require extra process to read them.

Maybe you could try to uninstall modules like `document` in order to
disable its indexation features, but you could face the uninstallation of other
modules that could be useful for you (e.g, `hr_recruitment` depends on that).

But even if you don't have `document` installed, you'd still have
plain text content indexation by default.

Using this module you will not require to uninstall any module to
disable the attachment content indexation, because we directly disable it at
`ir.attachment` base.
2023-07-17 13:57:11 +02:00