Commit Graph

15 Commits (a3d4ba0bb6fb4a58a28bcb8bc17c3809058f21eb)

Author SHA1 Message Date
Joel Zilli a3d4ba0bb6
[FIX] database_cleanup: unused code + wrong modules clean 2023-10-30 13:35:32 -04:00
Joel Zilli 6be193348a
[MIG] database_cleanup: Migration to 16.0 2023-10-30 13:35:32 -04:00
Tom Blauwendraat 96e244055f
fixup! [MIG] database_cleanup: Migration to 14.0 2023-10-30 13:35:31 -04:00
Stephane Mangin 7d8967fe32
[MIG] database_cleanup: Migration to 14.0 2023-10-30 13:35:31 -04:00
Stephane Mangin d1acfa4b4a
[IMP] database_cleanup: black, isort, prettier 2023-10-30 13:35:30 -04:00
Ruchir Shukla 9636bdb2a9
[FIX][#1580]database_cleanup: Skip studio_customization module skipped for uninstalling 2023-10-30 13:35:29 -04:00
Martin Trigaux 0daeb7a268
[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-10-30 13:35:28 -04:00
Martin Trigaux 6278702ed3
[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-10-30 13:35:27 -04:00
Simone Orsi 86948490e5
Global pylint cleanup 2023-10-30 13:35:26 -04:00
Holger Brunn 8d03304f64
[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-10-30 13:35:26 -04:00
Eric Antones 73cb3aa9d2
[MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2023-10-30 13:35:25 -04:00
Holger Brunn e3b8fda908
[FIX] don't crash if an xmlid refers to a nonexisting field (#559) 2023-10-30 13:35:24 -04:00
Holger Brunn 5bba296582
[IMP] call the button handler to also purge reverse dependencies 2023-10-30 13:35:24 -04:00
Holger Brunn 180e598e2a
[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-10-30 13:35:23 -04:00
Holger Brunn 617a991b88
[ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-10-30 13:35:23 -04:00