Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] attachment_unindex_content #3097

Merged
merged 28 commits into from
Nov 28, 2024

Commits on Oct 16, 2024

  1. [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.
    ebirbe authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6c2a4d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f6777f View commit details
    Browse the repository at this point in the history
  3. [ADD] icon.png

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6d8a92a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44b6dc2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae45825 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    327fc09 View commit details
    Browse the repository at this point in the history
  7. [UPD] README.rst

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    872eea2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    50b3a82 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    079d989 View commit details
    Browse the repository at this point in the history
  10. [UPD] README.rst

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    cc5ba03 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    eb52975 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    93b606b View commit details
    Browse the repository at this point in the history
  13. 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/
    ibuioli authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f62be19 View commit details
    Browse the repository at this point in the history
  14. [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] odoo/odoo@3d59cc84
    luisg123v authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e54ebb9 View commit details
    Browse the repository at this point in the history
  15. [UPD] README.rst

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    312b115 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7d60841 View commit details
    Browse the repository at this point in the history
  17. [MIG] attachment_unindex_content: Migration to 16.0

    - Manifest's "Version" updated to "16.0.1.0.0"
    - Translation files updated to new version
    Rodrigosu-Vauxoo authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    242fc4f View commit details
    Browse the repository at this point in the history
  18. [UPD] Update attachment_unindex_content.pot

    oca-ci authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b4f3330 View commit details
    Browse the repository at this point in the history
  19. [UPD] README.rst

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    39d4e2d View commit details
    Browse the repository at this point in the history
  20. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-attachment_unindex_content
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_unindex_content/
    weblate authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    df5974c View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7f26a28 View commit details
    Browse the repository at this point in the history
  22. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-attachment_unindex_content
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_unindex_content/
    weblate authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7afcebf View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a775e6c View commit details
    Browse the repository at this point in the history
  24. Translated using Weblate (Spanish)

    Currently translated at 100.0% (1 of 1 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-attachment_unindex_content
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_unindex_content/es/
    Ivorra78 authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    facb129 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    7961d7f View commit details
    Browse the repository at this point in the history
  26. Translated using Weblate (Italian)

    Currently translated at 100.0% (1 of 1 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-attachment_unindex_content
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_unindex_content/it/
    mymage authored and Kimkhoi3010 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    852b92b View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1e5910a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0d9c98f View commit details
    Browse the repository at this point in the history