Commit Graph

1190 Commits (588932052c84529fbd2836701d23e41d95dbed88)

Author SHA1 Message Date
Moises Lopez - https://www.vauxoo.com/ da992a1e03 [FIX] database_cleanup: Fix test (#612) 2024-01-10 16:14:47 -03:00
Florian da Costa d7e1f5bd28 fixes #587 2024-01-10 16:14:47 -03:00
Jordi Ballester Alomar 3b764a1fa7 [FIX] clean database menus was proposing good menus to purge (#562) 2024-01-10 16:14:47 -03:00
Holger Brunn 9a3d22aa9f [FIX] don't crash if an xmlid refers to a nonexisting field (#559) 2024-01-10 16:14:47 -03:00
Holger Brunn e7decb535d [IMP] call the button handler to also purge reverse dependencies 2024-01-10 16:14:47 -03:00
OCA Transbot 87d92ff2ec OCA Transbot updated translations from Transifex 2024-01-10 16:14:47 -03:00
Holger Brunn 43699a18ff [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
2024-01-10 16:14:47 -03:00
Stefan Rijnhart 0f1237c45a [RFR] Explicit access rights so that tests can run
Fixes #505
2024-01-10 16:14:47 -03:00
Holger Brunn f6003feefa [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2024-01-10 16:14:47 -03:00
Holger Brunn dc249595f6 [IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
2024-01-10 16:14:47 -03:00
Holger Brunn f996fe8228 [ADD] allow to clean up menus 2024-01-10 16:14:47 -03:00
Matjaž Mozetič c5fd4d2eb6 Missing templates and translations added 2024-01-10 16:14:47 -03:00
Holger Brunn 031dbf21f7 [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
2024-01-10 16:14:47 -03:00
Anthony Muschang ecf4723a44 [CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
2024-01-10 16:14:47 -03:00
Stefan Rijnhart d409be3307 [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
2024-01-10 16:14:47 -03:00
Guewen Baconnier 9290ad73d8 remove relations when purging models
avoid ''NoneType' object has no attribute 'exists'' error when purging models
fix my change guewen.baconnier@camptocamp.com-20140203103254-v1mzu2uib047xb9h, wrong lines replaced...
2024-01-10 16:14:47 -03:00
Stefan Rijnhart 34c4531a0b [ADD] Database cleanup module 2024-01-10 16:14:47 -03:00
chien 440481fa0c [MIG] jsonifier: Migration to 17.0 2024-01-09 14:50:50 +07:00
chien 2f9f372eb9 [IMP] jsonifier: pre-commit auto fixes 2024-01-02 15:54:18 +07:00
Ivorra78 295cfe9c03 Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)

Translation: server-tools-16.0/server-tools-16.0-jsonifier
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-jsonifier/es/
2024-01-02 15:53:30 +07:00
Ivorra78 1e94f1a3c9 Added translation using Weblate (Spanish) 2024-01-02 15:53:30 +07:00
OCA-git-bot c888c09d99 [UPD] README.rst 2024-01-02 15:53:30 +07:00
Weblate 739f68b033 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-jsonifier
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-jsonifier/
2024-01-02 15:53:30 +07:00
oca-ci 7b2ce3ead2 [UPD] Update jsonifier.pot 2024-01-02 15:53:30 +07:00
Weblate 41b5ac89d0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-jsonifier
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-jsonifier/
2024-01-02 15:53:30 +07:00
OCA-git-bot 892be7c026 [UPD] README.rst 2024-01-02 15:53:30 +07:00
oca-ci 4c7aec1d15 [UPD] Update jsonifier.pot 2024-01-02 15:53:30 +07:00
Sébastien BEAU 3852262660 jsonifier: remove deprecated logic for getting the date in user tz 2024-01-02 15:53:30 +07:00
Sébastien BEAU 4605af5ba8 jsonifier: migration to v16 2024-01-02 15:53:30 +07:00
Sébastien BEAU fc4bcb3774 [IMP] jsonifier: black, isort, prettier 2024-01-02 15:53:30 +07:00
OCA-git-bot e702814c17 jsonifier 14.0.1.0.1 2024-01-02 15:53:30 +07:00
Simone Orsi be27d5d309 jsonifier: fix date handling
We should always keep UTC and let the consumer deal w/ it.
This change is backward compatible but allows to turn off
the old behavior w/ the ctx flag `jsonifier__date_user_tz=False`.
2024-01-02 15:53:30 +07:00
OCA-git-bot a2cb25ca49 [UPD] README.rst 2024-01-02 15:53:30 +07:00
oca-ci df7a89a62a [UPD] Update jsonifier.pot 2024-01-02 15:53:30 +07:00
Simone Orsi 4175d5cefa Replace base_jsonify w/ jsonifier
Rationale:

1. the name reflects better what it does
   as this is not _just_ a base module

2. solves publication issue on odoo apps store
   due to an old module registered w/ the same name
   that even if un-published blocks publishing the module
   for all versions.
   This in turn, blocks the publication of ALL modules
   that depend on base_jsonify.
2024-01-02 15:53:30 +07:00
OCA-git-bot aff1784199 [ADD] icon.png 2024-01-02 15:53:30 +07:00
Simone Orsi a997125dc9 Add jsonifier (skeleton) 2024-01-02 15:53:30 +07:00
Alexis de Lattre 46b5f3bb45 [MIG] base_view_inheritance_extension to v17 2023-12-29 16:57:58 +01:00
Alexis de Lattre d5b257a484 [IMP] base_view_inheritance_extension: pre-commit auto fixes 2023-12-29 16:51:06 +01:00
OCA-git-bot d863797667 [BOT] post-merge updates 2023-12-29 16:49:23 +01:00
mymage 6711eddef6 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/it/
2023-12-29 16:49:23 +01:00
sergio-teruel 722fa235c0 [FIX] base_view_inheritance_extension: Crash domain for elements without previous domain defined 2023-12-29 16:49:23 +01:00
Carlos Dauden 8202fcc4fe [IMP] base_view_inheritance_extension: Add new options domain_add and text_add 2023-12-29 16:49:23 +01:00
OCA-git-bot 5daf7f9ea3 [UPD] README.rst 2023-12-29 16:49:23 +01:00
Ivorra78 ba823066a3 Translated using Weblate (Spanish)
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/es/
2023-12-29 16:49:23 +01:00
Ignacio Buioli 95450ee49f Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/es_AR/
2023-12-29 16:49:23 +01:00
Weblate 8aed828dd8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/
2023-12-29 16:49:23 +01:00
oca-ci 26ea054a48 [UPD] Update base_view_inheritance_extension.pot 2023-12-29 16:49:23 +01:00
Bole 9c115f62c9 Translated using Weblate (Croatian)
Currently translated at 100.0% (3 of 3 strings)

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/hr/
2023-12-29 16:49:23 +01:00
mymage 66427f6bb4 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: server-tools-16.0/server-tools-16.0-base_view_inheritance_extension
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_view_inheritance_extension/it/
2023-12-29 16:49:23 +01:00