Commit Graph

17 Commits (03b6874a5114c1f8fe527802779676b14b714667)

Author SHA1 Message Date
Martin Trigaux 03b6874a51
[FIX] database_cleanup: exclude password fields
cf discussion on OCA/server-tools#1408
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
Holger Brunn 20957e1ad3
[IMP] don't break on properties pointing to unknown models 2023-10-30 13:35:27 -04:00
Holger Brunn 606e679c8b
[FIX] show the redundant property's res_id, not the default one's 2023-10-30 13:35:27 -04:00
Holger Brunn 5eea6fe685
[FIX] don't destroy values when there are empty default properties 2023-10-30 13:35:27 -04:00
Simone Orsi 86948490e5
Global pylint cleanup 2023-10-30 13:35:26 -04:00
Holger Brunn 28ceb7c57e
[ADD] [database_cleanup] migrate to 11.0 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 1af5b66cf6
[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-10-30 13:35:25 -04:00
Florian da Costa 3953779836
fixes #587 2023-10-30 13:35:25 -04:00
Jordi Ballester Alomar 3778616fd5
[FIX] clean database menus was proposing good menus to purge (#562) 2023-10-30 13:35:24 -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
Stefan Rijnhart 6e27c304dc
[RFR] Explicit access rights so that tests can run
Fixes #505
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