Holger Brunn
efdea96f11
[ADD] test more cases for modules, refactor test code for that a bit
5 years ago
Holger Brunn
0bc6322dc8
[IMP] purge uninstalled unavailable modules in bulk
6 years ago
OCA Transbot
93d9a532a0
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/
5 years ago
oca-travis
4cc52e91b2
[UPD] Update database_cleanup.pot
5 years ago
mreficent
cbdabc0acd
[FIX] database_cleanup: only uninstall installed modules
Due to 0ca82f2a75
5 years ago
OCA-git-bot
b65736c0fa
database_cleanup 12.0.1.0.2
5 years ago
Enric Tobella
f7dd9d769e
[FIX][12.0] database_cleanup: Mute logger on tests
5 years ago
黎伟杰
ddebcf7881
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/
5 years ago
黎伟杰
1b353ab517
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/
5 years ago
Rodrigo Macedo
6f705a41f0
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/
5 years ago
OCA Transbot
c9f302613d
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/
5 years ago
OCA-git-bot
2074195658
database_cleanup 12.0.1.0.1
5 years ago
oca-travis
71b811676f
[UPD] Update database_cleanup.pot
5 years ago
Ruchir Shukla
b959f8c756
[FIX][ #1580 ]database_cleanup: Skip studio_customization module skipped for uninstalling
5 years ago
OCA Transbot
fd4d784270
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/
6 years ago
oca-travis
e0d943466a
[UPD] Update database_cleanup.pot
6 years ago
Martin Trigaux
d502f7233c
[FIX] database_cleanup: ignore to_buy modules
Since 12.0, some virtual modules are created as an incentive to buy enterprise
Hide installation warning
6 years ago
Martin Trigaux
3a2f771605
[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
6 years ago
Martin Trigaux
8d05d194ba
[I18N] database_cleanup: reflect changes to en.po
To match the new database_cleanup.pot
6 years ago
Martin Trigaux
282886f520
[FIX] database_cleanup: exclude password fields
cf discussion on OCA/server-tools#1408
6 years ago
Martin Trigaux
acd2703d40
[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>
6 years ago
Holger Brunn
761a09c57b
[IMP] don't break on properties pointing to unknown models
6 years ago
Holger Brunn
c2d2b8f3a3
[FIX] show the redundant property's res_id, not the default one's
6 years ago
Holger Brunn
1118c9e4d0
[FIX] don't destroy values when there are empty default properties
6 years ago
Simone Orsi
8d0a8b4f1e
Global pylint cleanup
6 years ago
Fanha Giang
776478d40e
database_cleanup_fix_runbot_links
6 years ago
OCA Transbot
b321e73f86
OCA Transbot updated translations from Transifex
7 years ago
Holger Brunn
f970118ac1
[ADD] [database_cleanup] migrate to 11.0
7 years ago
Holger Brunn
2de5414264
[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
7 years ago
Eric Antones
605ae4b2ed
[MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
8 years ago
Holger Brunn
3d29fbe40e
[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
8 years ago
Dave Lasley
e39d6de0be
[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
8 years ago
Moises Lopez - https://www.vauxoo.com/
a7b4ffdca5
[FIX] database_cleanup: Fix test ( #612 )
8 years ago
Florian da Costa
a6a3f903c8
fixes #587
8 years ago
Jordi Ballester Alomar
d2b77e9b17
[FIX] clean database menus was proposing good menus to purge ( #562 )
8 years ago
Holger Brunn
c2ca39e15c
[FIX] don't crash if an xmlid refers to a nonexisting field ( #559 )
8 years ago
Holger Brunn
1c7fbff1f5
[IMP] call the button handler to also purge reverse dependencies
8 years ago
OCA Transbot
29a396b46e
OCA Transbot updated translations from Transifex
9 years ago
Holger Brunn
1cd239174c
[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
8 years ago
Stefan Rijnhart
bcf157073b
[RFR] Explicit access rights so that tests can run
Fixes #505
8 years ago
Holger Brunn
113fafd967
[ADD] migrate database_cleanup
[ADD] test purging modules
[ADD] test purging tables
9 years ago
Holger Brunn
e4340ed787
[IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
10 years ago
Holger Brunn
40530a96bd
[ADD] allow to clean up menus
9 years ago
Matjaž Mozetič
687711eb74
Missing templates and translations added
9 years ago
Holger Brunn
e3edc2f87d
[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
10 years ago
Anthony Muschang
a0838f3d58
[CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
10 years ago
Stefan Rijnhart
f08a8e1024
[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
11 years ago
Guewen Baconnier
8f62ece151
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...
11 years ago
Stefan Rijnhart
7a0afcce84
[ADD] Database cleanup module
11 years ago