Commit Graph

55 Commits (dbcd7bddd16e727ec2ae32aee667dc6d07052ef9)

Author SHA1 Message Date
Maksym Yankin dbcd7bddd1 [MIG] database_cleanup: Migration to 15.0 2023-02-09 13:23:34 +02:00
Maksym Yankin 665573a7d7 [IMP] database_cleanup: pre-commit issues 2023-02-09 12:34:03 +02:00
Francesco Foresti e4b0e9efe5 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/
2023-02-09 12:09:19 +02:00
OCA-git-bot f9f8035dbb database_cleanup 14.0.1.0.1 2023-02-09 12:09:19 +02:00
Stefan Rijnhart 49d181ee42 [UPD] dotfiles 2023-02-09 12:09:19 +02:00
Francesco Foresti 3ab1910c49 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/
2023-02-09 12:09:19 +02:00
Francesco Foresti 23c0edab2d 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/
2023-02-09 12:09:19 +02:00
Ignacio Buioli b2d6a8bbfe 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/
2023-02-09 12:09:19 +02:00
OCA-git-bot fd1f517a7e [UPD] README.rst 2023-02-09 12:09:19 +02:00
oca-ci 225c936593 [UPD] Update database_cleanup.pot 2023-02-09 12:09:19 +02:00
Tom Blauwendraat d6f68f03c7 fixup! [MIG] database_cleanup: Migration to 14.0 2023-02-09 12:09:19 +02:00
Stephane Mangin 4c56e28bba [MIG] database_cleanup: Migration to 14.0 2023-02-09 12:09:19 +02:00
Stephane Mangin ac6cc435d4 [IMP] database_cleanup: black, isort, prettier 2023-02-09 12:09:19 +02:00
黎伟杰 b86994ab23 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/
2023-02-09 12:09:19 +02:00
黎伟杰 997196b6ae 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/
2023-02-09 12:09:19 +02:00
Rodrigo Macedo 6c055b1dd7 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/
2023-02-09 12:09:19 +02:00
OCA Transbot 3af877f83c 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/
2023-02-09 12:09:19 +02:00
OCA-git-bot d6e2d97a9b database_cleanup 12.0.1.0.1 2023-02-09 12:09:19 +02:00
oca-travis e34c3b1295 [UPD] Update database_cleanup.pot 2023-02-09 12:09:19 +02:00
Ruchir Shukla 09245554c5 [FIX][#1580]database_cleanup: Skip studio_customization module skipped for uninstalling 2023-02-09 12:09:19 +02:00
OCA Transbot ea929dfc5d 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/
2023-02-09 12:09:19 +02:00
oca-travis 966a2ce3c8 [UPD] Update database_cleanup.pot 2023-02-09 12:09:19 +02:00
Martin Trigaux c2ddf6ff72 [FIX] database_cleanup: ignore to_buy modules
Since 12.0, some virtual modules are created as an incentive to buy enterprise
Hide installation warning
2023-02-09 12:09:19 +02:00
Martin Trigaux ce7ec7ee51 [FIX] database_cleanup: filter on many2many fields
Following odoo/odoo@54238c88e8 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
2023-02-09 12:09:19 +02:00
Martin Trigaux dfae5e2b2b [I18N] database_cleanup: reflect changes to en.po
To match the new database_cleanup.pot
2023-02-09 12:09:19 +02:00
Martin Trigaux 1f91c0a778 [FIX] database_cleanup: exclude password fields
cf discussion on OCA/server-tools#1408
2023-02-09 12:09:19 +02:00
Martin Trigaux 0c9705d7ab [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>
2023-02-09 12:09:19 +02:00
Holger Brunn b5d1b98a05 [IMP] don't break on properties pointing to unknown models 2023-02-09 12:09:19 +02:00
Holger Brunn f28fe2fdec [FIX] show the redundant property's res_id, not the default one's 2023-02-09 12:09:19 +02:00
Holger Brunn 2c5f39b8f6 [FIX] don't destroy values when there are empty default properties 2023-02-09 12:09:19 +02:00
Simone Orsi 0cec1c0c7d Global pylint cleanup 2023-02-09 12:09:19 +02:00
Fanha Giang feb636d501 database_cleanup_fix_runbot_links 2023-02-09 12:09:19 +02:00
OCA Transbot f19ac47718 OCA Transbot updated translations from Transifex 2023-02-09 12:09:19 +02:00
Holger Brunn 339fe0d60e [ADD] [database_cleanup] migrate to 11.0 2023-02-09 12:09:19 +02:00
Holger Brunn f731d9b76c [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
2023-02-09 12:09:19 +02:00
Eric Antones 31d5881ec3 [MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2023-02-09 12:09:19 +02:00
Holger Brunn 5b2a5a3b65 [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
2023-02-09 12:09:19 +02:00
Dave Lasley a1ebf7e415 [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
2023-02-09 12:09:19 +02:00
Moises Lopez - https://www.vauxoo.com/ 5d19aaeb14 [FIX] database_cleanup: Fix test (#612) 2023-02-09 12:09:19 +02:00
Florian da Costa 5176e76758 fixes #587 2023-02-09 12:09:19 +02:00
Jordi Ballester Alomar 1ffc49d76f [FIX] clean database menus was proposing good menus to purge (#562) 2023-02-09 12:09:19 +02:00
Holger Brunn 1c096ff1dc [FIX] don't crash if an xmlid refers to a nonexisting field (#559) 2023-02-09 12:09:19 +02:00
Holger Brunn b1cd6ff778 [IMP] call the button handler to also purge reverse dependencies 2023-02-09 12:09:19 +02:00
OCA Transbot 3ffd9ddd0c OCA Transbot updated translations from Transifex 2023-02-09 12:09:19 +02:00
Holger Brunn f83440c513 [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
2023-02-09 12:09:19 +02:00
Stefan Rijnhart b3503b94bb [RFR] Explicit access rights so that tests can run
Fixes #505
2023-02-09 12:09:19 +02:00
Holger Brunn 316680ada2 [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-02-09 12:09:19 +02:00
Holger Brunn de3f208f64 [IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
2023-02-09 12:09:19 +02:00
Holger Brunn 419988f770 [ADD] allow to clean up menus 2023-02-09 12:09:19 +02:00
Matjaž Mozetič 42abb89439 Missing templates and translations added 2023-02-09 12:09:19 +02:00