Commit Graph

15 Commits (38a0546ff17159ce2d53b786d965da3ef67cdd3a)

Author SHA1 Message Date
Hans Henrik Gabelgaard 13ca7bccfd [FIX] database_cleanup: 'Environment' object has no attribute 'invalidate_all' 2023-04-14 16:38:06 +02:00
Joel Zilli e937f03017 [MIG] database_cleanup: Migration to 15.0 2023-02-20 11:29:24 +02:00
Tom Blauwendraat d6f68f03c7 fixup! [MIG] database_cleanup: Migration to 14.0 2023-02-09 12:09:19 +02:00
Stephane Mangin 4c56e28bba [MIG] database_cleanup: Migration to 14.0 2023-02-09 12:09:19 +02:00
Stephane Mangin ac6cc435d4 [IMP] database_cleanup: black, isort, prettier 2023-02-09 12:09:19 +02:00
Ruchir Shukla 09245554c5 [FIX][#1580]database_cleanup: Skip studio_customization module skipped for uninstalling 2023-02-09 12:09:19 +02:00
Martin Trigaux c2ddf6ff72 [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-02-09 12:09:19 +02:00
Martin Trigaux 0c9705d7ab [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-02-09 12:09:19 +02:00
Simone Orsi 0cec1c0c7d Global pylint cleanup 2023-02-09 12:09:19 +02:00
Holger Brunn f731d9b76c [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-02-09 12:09:19 +02:00
Eric Antones 31d5881ec3 [MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2023-02-09 12:09:19 +02:00
Holger Brunn 1c096ff1dc [FIX] don't crash if an xmlid refers to a nonexisting field (#559) 2023-02-09 12:09:19 +02:00
Holger Brunn b1cd6ff778 [IMP] call the button handler to also purge reverse dependencies 2023-02-09 12:09:19 +02:00
Holger Brunn f83440c513 [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-02-09 12:09:19 +02:00
Holger Brunn 316680ada2 [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-02-09 12:09:19 +02:00