Commit Graph

14 Commits (f28fe2fdecbc7c1d2e9d3cbd78f34d1a76e23337)

Author SHA1 Message Date
Holger Brunn f28fe2fdec [FIX] show the redundant property's res_id, not the default one's 2023-02-09 12:09:19 +02:00
Holger Brunn 2c5f39b8f6 [FIX] don't destroy values when there are empty default properties 2023-02-09 12:09:19 +02:00
Simone Orsi 0cec1c0c7d Global pylint cleanup 2023-02-09 12:09:19 +02:00
Holger Brunn 339fe0d60e [ADD] [database_cleanup] migrate to 11.0 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 5b2a5a3b65 [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
2023-02-09 12:09:19 +02:00
Florian da Costa 5176e76758 fixes #587 2023-02-09 12:09:19 +02:00
Jordi Ballester Alomar 1ffc49d76f [FIX] clean database menus was proposing good menus to purge (#562) 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
Stefan Rijnhart b3503b94bb [RFR] Explicit access rights so that tests can run
Fixes #505
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