Commit Graph

9 Commits (f6003feefa56c7cd31a6e29200ac62f1360fc316)

Author SHA1 Message Date
Holger Brunn f6003feefa [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2024-01-10 16:14:47 -03:00
Holger Brunn dc249595f6 [IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
2024-01-10 16:14:47 -03:00
Holger Brunn f996fe8228 [ADD] allow to clean up menus 2024-01-10 16:14:47 -03:00
Matjaž Mozetič c5fd4d2eb6 Missing templates and translations added 2024-01-10 16:14:47 -03:00
Holger Brunn 031dbf21f7 [IMP] hide unnecessary buttons in wizard
[IMP] order wizard lines by name

[IMP] deal with modules whose models can't be loaded

[IMP] double quotes for docstring

[FIX] use exists query instead of huge in list

[IMP] hide unnecessary buttons in wizard II

[IMP] readability

[FIX] cope with purging nonexisting models
2024-01-10 16:14:47 -03:00
Anthony Muschang ecf4723a44 [CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
2024-01-10 16:14:47 -03:00
Stefan Rijnhart d409be3307 [FIX] Don't remove uid field from wkf_instance, which is written in
raw SQL query (but never read afterwards). Workaround for
    lp:1277899

[FIX] Preserve dangling workflow table which is in use

[RFR] Group models per table when detecting columns to purge
      to prevent problems with models sharing the same table

[ADD] Allow purging of dangling data entries

[FIX] Data purging now working

[IMP] Docstrings

[FIX] Label
[FIX] Catch attempt to unlink field from nonexisting model

[RFR] Flake8
2024-01-10 16:14:47 -03:00
Guewen Baconnier 9290ad73d8 remove relations when purging models
avoid ''NoneType' object has no attribute 'exists'' error when purging models
fix my change guewen.baconnier@camptocamp.com-20140203103254-v1mzu2uib047xb9h, wrong lines replaced...
2024-01-10 16:14:47 -03:00
Stefan Rijnhart 34c4531a0b [ADD] Database cleanup module 2024-01-10 16:14:47 -03:00