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

Syncing from upstream OCA/server-tools (16.0) #1397

Merged
merged 65 commits into from
Dec 30, 2023
Merged

Commits on Oct 30, 2023

  1. [ADD] Database cleanup module

    Stefan Rijnhart authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    cad5ae1 View commit details
    Browse the repository at this point in the history
  2. remove relations when purging models

    avoid ''NoneType' object has no attribute 'exists'' error when purging models
    fix my change [email protected], wrong lines replaced...
    guewen authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    801a5d4 View commit details
    Browse the repository at this point in the history
  3. [FIX] Don't remove uid field from wkf_instance, which is written in

        raw SQL query (but never read afterwards). Workaround for
        lp:1277899
    
    [FIX] Preserve dangling workflow table which is in use
    
    [RFR] Group models per table when detecting columns to purge
          to prevent problems with models sharing the same table
    
    [ADD] Allow purging of dangling data entries
    
    [FIX] Data purging now working
    
    [IMP] Docstrings
    
    [FIX] Label
    [FIX] Catch attempt to unlink field from nonexisting model
    
    [RFR] Flake8
    Stefan Rijnhart authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b8e2414 View commit details
    Browse the repository at this point in the history
  4. [CHG] Migration to 8.0

    [CHG] database_cleanup: move description to README.rst
    anthony-muschang authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    e5e76d0 View commit details
    Browse the repository at this point in the history
  5. [IMP] hide unnecessary buttons in wizard

    [IMP] order wizard lines by name
    
    [IMP] deal with modules whose models can't be loaded
    
    [IMP] double quotes for docstring
    
    [FIX] use exists query instead of huge in list
    
    [IMP] hide unnecessary buttons in wizard II
    
    [IMP] readability
    
    [FIX] cope with purging nonexisting models
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c1406eb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b4e1e4d View commit details
    Browse the repository at this point in the history
  7. [ADD] allow to clean up menus

    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5b31147 View commit details
    Browse the repository at this point in the history
  8. [IMP] allow to select lines to purge in a tree view

    [IMP] adaptto upstream changes
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    cf5785b View commit details
    Browse the repository at this point in the history
  9. [ADD] migrate database_cleanup

    [ADD] test purging modules
    
    [ADD] test purging tables
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    617a991 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6e27c30 View commit details
    Browse the repository at this point in the history
  11. [FIX] purge uninstalled uninstallable modules instead of deleting

    [FIX] database_cleanup reloads the registry
    
    which has weird side effects during testing. Take care
    database_cleanup's tests don't mess up the following tests
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    180e598 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    39d97e0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5bba296 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e3b8fda View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3778616 View commit details
    Browse the repository at this point in the history
  16. fixes #587

    florian-dacosta authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    3953779 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    808cdaa View commit details
    Browse the repository at this point in the history
  18. [9.0][FIX] database_cleanup: Isolate build (#719)

    * [FIX] database_cleanup: Isolate build
    * Isolate `database_cleanup` into its own build in Travis file to fix #689
    
    * [FIX] database_cleanup: Remove KeyError assertion
    * Remove KeyError assertion in tests due to PR in comment being merged
    lasley authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5dd1e9b View commit details
    Browse the repository at this point in the history
  19. [ADD] allow creating missing indexes and purging properties (#736)

    * [ADD] allow creating missing indexes
    
    * [FIX] tests; installation
    
    * [ADD] allow purging properties
    
    * [ADD] missing file
    
    * [ADD] test purging properties
    
    * [ADD] missing parent_id for menu entry
    
    * [FIX] don't delete too many and wrong properties
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    1af5b66 View commit details
    Browse the repository at this point in the history
  20. [MIG] database_cleanup: Migration to version 10.0

    Using new base model inheritance.
    eantones authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    73cb3aa View commit details
    Browse the repository at this point in the history
  21. [FIX] really uninstall modules and avoid a crash on cached data

    [FIX] don't try to uninstall uninstalled modules
    
    [DEL] weird code
    
    [FIX] actually cleanup where we can
    hbrunn authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    8d03304 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    28ceb7c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    82364c8 View commit details
    Browse the repository at this point in the history
  24. database_cleanup_fix_runbot_links

    fanha99 authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    1174199 View commit details
    Browse the repository at this point in the history
  25. Global pylint cleanup

    simahawk authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    8694849 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5eea6fe View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    606e679 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    20957e1 View commit details
    Browse the repository at this point in the history
  29. [MIG] database_cleanup: migration to 12.0

    Update version number
    Use correct import
    Update .pot to match new syntax
    Adapt icon to fontawesome
    Add models description
    Rename field external id to new syntax <model>__<field>
    mart-e authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6278702 View commit details
    Browse the repository at this point in the history
  30. [FIX] database_cleanup: exclude password fields

    cf discussion on #1408
    mart-e authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    03b6874 View commit details
    Browse the repository at this point in the history
  31. [I18N] database_cleanup: reflect changes to en.po

    To match the new database_cleanup.pot
    mart-e authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    f181991 View commit details
    Browse the repository at this point in the history
  32. [FIX] database_cleanup: filter on many2many fields

    Following odoo/odoo@54238c88e85d6e a Many2many may have no relation
    This avoids having a None record in the list (which is problematic with the
    NOT IN clause)
    https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_NOT_IN
    mart-e authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    13c2a78 View commit details
    Browse the repository at this point in the history
  33. [FIX] database_cleanup: ignore to_buy modules

    Since 12.0, some virtual modules are created as an incentive to buy enterprise
    Hide installation warning
    mart-e authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    0daeb7a View commit details
    Browse the repository at this point in the history
  34. [UPD] Update database_cleanup.pot

    oca-travis authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    19352c6 View commit details
    Browse the repository at this point in the history
  35. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-12.0/server-tools-12.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/
    oca-transbot authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c04fcba View commit details
    Browse the repository at this point in the history
  36. [FIX][#1580]database_cleanup: Skip studio_customization module skippe…

    …d for uninstalling
    bizzappdev authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9636bdb View commit details
    Browse the repository at this point in the history
  37. [UPD] Update database_cleanup.pot

    oca-travis authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    60b25c1 View commit details
    Browse the repository at this point in the history
  38. database_cleanup 12.0.1.0.1

    OCA-git-bot authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c82ba39 View commit details
    Browse the repository at this point in the history
  39. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-12.0/server-tools-12.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/
    oca-transbot authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b0f5f98 View commit details
    Browse the repository at this point in the history
  40. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (74 of 74 strings)
    
    Translation: server-tools-12.0/server-tools-12.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/pt_BR/
    Rodrigo Macedo authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    e04079e View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Chinese (Simplified))

    Currently translated at 51.4% (38 of 74 strings)
    
    Translation: server-tools-12.0/server-tools-12.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/zh_CN/
    liweijie0812 authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    d575a5a View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (74 of 74 strings)
    
    Translation: server-tools-12.0/server-tools-12.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/zh_CN/
    liweijie0812 authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5d0be1e View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    d1acfa4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    7d8967f View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    96e2440 View commit details
    Browse the repository at this point in the history
  46. [UPD] Update database_cleanup.pot

    oca-ci authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    fdc1ea5 View commit details
    Browse the repository at this point in the history
  47. [UPD] README.rst

    OCA-git-bot authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b3849b3 View commit details
    Browse the repository at this point in the history
  48. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (74 of 74 strings)
    
    Translation: server-tools-14.0/server-tools-14.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-database_cleanup/es_AR/
    ibuioli authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    81d7752 View commit details
    Browse the repository at this point in the history
  49. Translated using Weblate (Italian)

    Currently translated at 20.2% (15 of 74 strings)
    
    Translation: server-tools-14.0/server-tools-14.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-database_cleanup/it/
    francesco-ooops authored and miikanissi committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    07e00cf View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    6be1933 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    a3d4ba0 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    2afed18 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    8d364c3 View commit details
    Browse the repository at this point in the history
  2. [FIX] database_cleanup: TransactionCase already does rollback

    No need to rollback here as TransactionCase does a safe rollback.
    miikanissi committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    62885e3 View commit details
    Browse the repository at this point in the history
  3. [IMP] database_cleanup: Unlink with new cursor

    Needed for purging payment providers which recompute module_state
    miikanissi committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    0d2fbc3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f80f43c View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Configuration menu
    Copy the full SHA
    e791803 View commit details
    Browse the repository at this point in the history
  2. Merge PR #2684 into 16.0

    Signed-off-by pedrobaeza
    OCA-git-bot committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3594697 View commit details
    Browse the repository at this point in the history
  3. [UPD] Update database_cleanup.pot

    oca-ci committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    57ba4d6 View commit details
    Browse the repository at this point in the history
  4. [BOT] post-merge updates

    OCA-git-bot committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    c963e27 View commit details
    Browse the repository at this point in the history
  5. Translated using Weblate (Spanish)

    Currently translated at 100.0% (193 of 193 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-excel_import_export
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-excel_import_export/es/
    Ivorra78 authored and weblate committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    800f8b5 View commit details
    Browse the repository at this point in the history
  6. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-database_cleanup/
    weblate committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    0781509 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff67450 View commit details
    Browse the repository at this point in the history
  8. Translated using Weblate (Italian)

    Currently translated at 80.8% (156 of 193 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-excel_import_export
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-excel_import_export/it/
    mymage authored and weblate committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5f723b2 View commit details
    Browse the repository at this point in the history
  9. Translated using Weblate (Spanish)

    Currently translated at 100.0% (76 of 76 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-database_cleanup
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-database_cleanup/es/
    Ivorra78 authored and weblate committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d4504e7 View commit details
    Browse the repository at this point in the history