Commit Graph

66 Commits (79b4ca29067a7844f8360082b0e3c0ae0a01bbed)

Author SHA1 Message Date
OCA-git-bot ea31a2550c [BOT] post-merge updates 2024-01-17 07:15:29 +00:00
oca-ci ea2301784e [UPD] Update database_cleanup.pot 2024-01-17 07:13:47 +00:00
augusto-weiss fbb5dc1fe7 [MIG] database_cleanup: Migration to 17.0 2024-01-16 12:28:59 -03:00
augusto-weiss d60ef91034 [IMP] database_cleanup: pre-commit execution 2024-01-10 16:14:55 -03:00
mymage 18557d77dc Translated using Weblate (Italian)
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/it/
2024-01-10 16:14:47 -03:00
mymage 903f7d400a Translated using Weblate (Italian)
Currently translated at 98.6% (75 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/it/
2024-01-10 16:14:47 -03:00
Ivorra78 25c9f9eed7 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/
2024-01-10 16:14:47 -03:00
Weblate ea64d0c08b 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/
2024-01-10 16:14:47 -03:00
OCA-git-bot 806928d602 [BOT] post-merge updates 2024-01-10 16:14:47 -03:00
oca-ci f48808aa17 [UPD] Update database_cleanup.pot 2024-01-10 16:14:47 -03:00
Maksym Yankin bc184e7c24 [IMP] database_cleanup: improve tests 2024-01-10 16:14:47 -03:00
Stefan Rijnhart eb610e7ff3 [FIX] database_cleanup: preserve spaces in quoted identifiers 2024-01-10 16:14:47 -03:00
Miika Nissi 00db558690 [IMP] database_cleanup: Unlink with new cursor
Needed for purging payment providers which recompute module_state
2024-01-10 16:14:47 -03:00
Miika Nissi be2a6e9fb1 [FIX] database_cleanup: TransactionCase already does rollback
No need to rollback here as TransactionCase does a safe rollback.
2024-01-10 16:14:47 -03:00
Miika Nissi b06d4e2fdb [IMP] database_cleanup: Readability of modules to remove 2024-01-10 16:14:47 -03:00
Joel Zilli 13fc2abdb3 [FIX] database_cleanup: unused code + wrong modules clean 2024-01-10 16:14:47 -03:00
Joel Zilli 8a4f4b227c [MIG] database_cleanup: Migration to 16.0 2024-01-10 16:14:47 -03:00
Francesco Foresti ab7c7a5664 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/
2024-01-10 16:14:47 -03:00
Ignacio Buioli 1572ba4005 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/
2024-01-10 16:14:47 -03:00
OCA-git-bot 16368765dc [UPD] README.rst 2024-01-10 16:14:47 -03:00
oca-ci 6854ed529f [UPD] Update database_cleanup.pot 2024-01-10 16:14:47 -03:00
Tom Blauwendraat 20815e6f8f fixup! [MIG] database_cleanup: Migration to 14.0 2024-01-10 16:14:47 -03:00
Stephane Mangin 960c2669e0 [MIG] database_cleanup: Migration to 14.0 2024-01-10 16:14:47 -03:00
Stephane Mangin ea9e1c0799 [IMP] database_cleanup: black, isort, prettier 2024-01-10 16:14:47 -03:00
黎伟杰 f658e669ee 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/
2024-01-10 16:14:47 -03:00
黎伟杰 1ff67b3aee 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/
2024-01-10 16:14:47 -03:00
Rodrigo Macedo 562ac2dc44 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/
2024-01-10 16:14:47 -03:00
OCA Transbot a1faefcb83 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/
2024-01-10 16:14:47 -03:00
OCA-git-bot 2f1672ccb0 database_cleanup 12.0.1.0.1 2024-01-10 16:14:47 -03:00
oca-travis 728457e376 [UPD] Update database_cleanup.pot 2024-01-10 16:14:47 -03:00
Ruchir Shukla 04938bf63e [FIX][#1580]database_cleanup: Skip studio_customization module skipped for uninstalling 2024-01-10 16:14:47 -03:00
OCA Transbot e2686b77a0 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/
2024-01-10 16:14:47 -03:00
oca-travis 2e28171da7 [UPD] Update database_cleanup.pot 2024-01-10 16:14:47 -03:00
Martin Trigaux 841704c4a5 [FIX] database_cleanup: ignore to_buy modules
Since 12.0, some virtual modules are created as an incentive to buy enterprise
Hide installation warning
2024-01-10 16:14:47 -03:00
Martin Trigaux b2ab7d204e [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
2024-01-10 16:14:47 -03:00
Martin Trigaux 1af449e3d3 [I18N] database_cleanup: reflect changes to en.po
To match the new database_cleanup.pot
2024-01-10 16:14:47 -03:00
Martin Trigaux 77a9abd777 [FIX] database_cleanup: exclude password fields
cf discussion on OCA/server-tools#1408
2024-01-10 16:14:47 -03:00
Martin Trigaux 021c7b1543 [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>
2024-01-10 16:14:47 -03:00
Holger Brunn 6378eaed22 [IMP] don't break on properties pointing to unknown models 2024-01-10 16:14:47 -03:00
Holger Brunn 2c7ac60c0f [FIX] show the redundant property's res_id, not the default one's 2024-01-10 16:14:47 -03:00
Holger Brunn 0926c08c63 [FIX] don't destroy values when there are empty default properties 2024-01-10 16:14:47 -03:00
Simone Orsi dcd6d728c0 Global pylint cleanup 2024-01-10 16:14:47 -03:00
Fanha Giang 377ad79a30 database_cleanup_fix_runbot_links 2024-01-10 16:14:47 -03:00
OCA Transbot 0a78ebe17a OCA Transbot updated translations from Transifex 2024-01-10 16:14:47 -03:00
Holger Brunn 35b727f17b [ADD] [database_cleanup] migrate to 11.0 2024-01-10 16:14:47 -03:00
Holger Brunn 2f83886cbe [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
2024-01-10 16:14:47 -03:00
Eric Antones 9998f90351 [MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2024-01-10 16:14:47 -03:00
Holger Brunn 935bcd4eac [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
2024-01-10 16:14:47 -03:00
Dave Lasley 67d18cce0a [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
2024-01-10 16:14:47 -03:00
Moises Lopez - https://www.vauxoo.com/ da992a1e03 [FIX] database_cleanup: Fix test (#612) 2024-01-10 16:14:47 -03:00