Ruchir Shukla
b959f8c756
[FIX][ #1580 ]database_cleanup: Skip studio_customization module skipped for uninstalling
5 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
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
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
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
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
8 years ago