Commit Graph

17 Commits (ae15c88c42d6ac40b79af73108b5ac50b3492105)

Author SHA1 Message Date
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 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
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
Ruchir Shukla 04938bf63e [FIX][#1580]database_cleanup: Skip studio_customization module skipped for uninstalling 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 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
Simone Orsi dcd6d728c0 Global pylint cleanup 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 9a3d22aa9f [FIX] don't crash if an xmlid refers to a nonexisting field (#559) 2024-01-10 16:14:47 -03:00
Holger Brunn e7decb535d [IMP] call the button handler to also purge reverse dependencies 2024-01-10 16:14:47 -03:00
Holger Brunn 43699a18ff [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
2024-01-10 16:14:47 -03:00
Holger Brunn f6003feefa [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2024-01-10 16:14:47 -03:00