Commit Graph

1438 Commits (b70360140d7356ff5b4e5a2f535c3e129a85d33c)

Author SHA1 Message Date
Holger Brunn b5d1b98a05 [IMP] don't break on properties pointing to unknown models 2023-02-09 12:09:19 +02:00
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
Fanha Giang feb636d501 database_cleanup_fix_runbot_links 2023-02-09 12:09:19 +02:00
OCA Transbot f19ac47718 OCA Transbot updated translations from Transifex 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
Dave Lasley a1ebf7e415 [9.0][FIX] database_cleanup: Isolate build (#719)
* [FIX] database_cleanup: Isolate build
* Isolate `database_cleanup` into its own build in Travis file to fix #689

* [FIX] database_cleanup: Remove KeyError assertion
* Remove KeyError assertion in tests due to PR in comment being merged
2023-02-09 12:09:19 +02:00
Moises Lopez - https://www.vauxoo.com/ 5d19aaeb14 [FIX] database_cleanup: Fix test (#612) 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
OCA Transbot 3ffd9ddd0c OCA Transbot updated translations from Transifex 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
Holger Brunn de3f208f64 [IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
2023-02-09 12:09:19 +02:00
Holger Brunn 419988f770 [ADD] allow to clean up menus 2023-02-09 12:09:19 +02:00
Matjaž Mozetič 42abb89439 Missing templates and translations added 2023-02-09 12:09:19 +02:00
Holger Brunn 9886bd244c [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
2023-02-09 12:09:19 +02:00
Anthony Muschang b0f17049b3 [CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
2023-02-09 12:09:19 +02:00
Stefan Rijnhart c66ca7a3a7 [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
2023-02-09 12:09:19 +02:00
Guewen Baconnier d468ae472f 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...
2023-02-09 12:09:19 +02:00
Stefan Rijnhart 41a7e46b7e [ADD] Database cleanup module 2023-02-09 12:09:19 +02:00
Sylvain LE GAL 76ea08b51e [FIX+IMP] module_analysis : remove analysis when updating modules, because the analysis is partial (it also make the update slower) ; Add instead a cron task that is executed nightly to update analysis automatically 2023-02-07 10:05:05 +01:00
Juliette Blanc 0946eba3ca [MIG] module_analysis: Migration to 15.0
[MIG] module_analysis: Migration to 15.0
2023-02-07 10:05:05 +01:00
Roy Le 45f95db4ab [FIX] module_analysis: correct syntax 2023-02-07 10:05:05 +01:00
Alessandro Fiorino d30429a18f Translated using Weblate (Italian)
Currently translated at 100.0% (35 of 35 strings)

Translation: server-tools-13.0/server-tools-13.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-module_analysis/it/
2023-02-07 10:05:05 +01:00
Alessandro Fiorino 702436e9e7 Added translation using Weblate (Italian) 2023-02-07 10:05:05 +01:00
Telmo Santos fc8775d0cf Fix _get_files_to_analyse 2023-02-07 10:05:05 +01:00
Telmo Santos ffd943ba72 [Fix] author_txt_list assign 2023-02-07 10:05:05 +01:00
Telmo Santos b4ff2fd03e fixup! [MIG] module_analysis: Migration to 13.0 2023-02-07 10:05:05 +01:00
Telmo Santos 739049ae96 Remove anonymous variable _ 2023-02-07 10:05:05 +01:00
Telmo Santos f209036a45 Skip _test modules from test_installed_modules 2023-02-07 10:05:05 +01:00
Telmo Santos e201088f69 fixup! Fix pre-commit warnings 2023-02-07 10:05:05 +01:00
Telmo Santos 323f7bee50 Fix pre-commit warnings 2023-02-07 10:05:05 +01:00
Telmo Santos 4336961850 [MIG] module_analysis: Migration to 13.0 2023-02-07 10:05:05 +01:00
Telmo Santos c81c12f285 [IMP] module_analysis: black, isort, prettier 2023-02-07 10:05:05 +01:00
黎伟杰 438c82757b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (35 of 35 strings)

Translation: server-tools-12.0/server-tools-12.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_analysis/zh_CN/

[UPD] README.rst
2023-02-07 10:05:05 +01:00
黎伟杰 afd9051c82 Added translation using Weblate (Chinese (Simplified)) 2023-02-07 10:05:05 +01:00
Sylvain LE GAL 6615203c30 [ADD] new module module_analysis
fixup! [ADD] new module module_analysis

fixup! fixup! [ADD] new module module_analysis

fixup! fixup! fixup! [ADD] new module module_analysis

fixup! fixup! fixup! fixup! [ADD] new module module_analysis

IMP exception message

fixup! fixup! fixup! fixup! fixup! [ADD] new module module_analysis

[REF] remove use of cloc. use pygount librairy instead

fixup! [REF] remove use of cloc. use pygount librairy instead

fixup! fixup! [REF] remove use of cloc. use pygount librairy instead

Apply suggestions from code review

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/views/menu.xml

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/tests/test_module.py

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/readme/CONFIGURE.rst

Co-Authored-By: David Beal <david.beal@akretion.com>

[IMP] handle encoding

[UPD] Update module_analysis.pot

[UPD] README.rst

[UPD] README.rst
2023-02-07 10:05:05 +01:00
Sébastien Alix 87a0fcb788
Merge pull request #2541 from sebalix/15.0-copier-update
[15.0][FIX] pre-commit: update configuration with copier
2023-02-07 09:54:44 +01:00
Sébastien Alix 2c0279548a [FIX] pre-commit: update configuration with copier 2023-02-07 09:42:04 +01:00
OCA-git-bot b01526a02d [UPD] addons table in README.md 2023-01-23 14:44:58 +00:00
OCA-git-bot b24b03a023 auditlog 15.0.2.0.1 2023-01-23 14:44:52 +00:00
OCA-git-bot fe5169dde7 [UPD] README.rst 2023-01-23 14:44:52 +00:00