Holger Brunn
efd88c2997
[IMP] travis: isolate database_cleanup again
Cherry-pick of d464fb2c59
to 12.0
7 years ago
Martin Trigaux
d502f7233c
[FIX] database_cleanup: ignore to_buy modules
Since 12.0, some virtual modules are created as an incentive to buy enterprise
Hide installation warning
6 years ago
Martin Trigaux
3a2f771605
[FIX] database_cleanup: filter on many2many fields
Following odoo/odoo@54238c88e85d6e a Many2many may have no relation
This avoids having a None record in the list (which is problematic with the
NOT IN clause)
https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_NOT_IN
6 years ago
Martin Trigaux
8d05d194ba
[I18N] database_cleanup: reflect changes to en.po
To match the new database_cleanup.pot
6 years ago
Martin Trigaux
282886f520
[FIX] database_cleanup: exclude password fields
cf discussion on OCA/server-tools#1408
6 years ago
Martin Trigaux
acd2703d40
[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>
6 years ago
Holger Brunn
761a09c57b
[IMP] don't break on properties pointing to unknown models
6 years ago
Holger Brunn
c2d2b8f3a3
[FIX] show the redundant property's res_id, not the default one's
6 years ago
Holger Brunn
1118c9e4d0
[FIX] don't destroy values when there are empty default properties
6 years ago
Simone Orsi
8d0a8b4f1e
Global pylint cleanup
6 years ago
Fanha Giang
776478d40e
database_cleanup_fix_runbot_links
7 years ago
OCA Transbot
b321e73f86
OCA Transbot updated translations from Transifex
7 years ago
Holger Brunn
f970118ac1
[ADD] [database_cleanup] migrate to 11.0
7 years ago
Holger Brunn
2de5414264
[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
7 years ago
Eric Antones
605ae4b2ed
[MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
8 years ago
Holger Brunn
3d29fbe40e
[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
8 years ago
Dave Lasley
e39d6de0be
[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
8 years ago
Moises Lopez - https://www.vauxoo.com/
a7b4ffdca5
[FIX] database_cleanup: Fix test ( #612 )
8 years ago
Florian da Costa
a6a3f903c8
fixes #587
8 years ago
Jordi Ballester Alomar
d2b77e9b17
[FIX] clean database menus was proposing good menus to purge ( #562 )
8 years ago
Holger Brunn
c2ca39e15c
[FIX] don't crash if an xmlid refers to a nonexisting field ( #559 )
8 years ago
Holger Brunn
1c7fbff1f5
[IMP] call the button handler to also purge reverse dependencies
8 years ago
OCA Transbot
29a396b46e
OCA Transbot updated translations from Transifex
9 years ago
Holger Brunn
1cd239174c
[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
9 years ago
Stefan Rijnhart
bcf157073b
[RFR] Explicit access rights so that tests can run
Fixes #505
8 years ago
Holger Brunn
113fafd967
[ADD] migrate database_cleanup
[ADD] test purging modules
[ADD] test purging tables
9 years ago
Holger Brunn
e4340ed787
[IMP] allow to select lines to purge in a tree view
[IMP] adaptto upstream changes
10 years ago
Holger Brunn
40530a96bd
[ADD] allow to clean up menus
9 years ago
Matjaž Mozetič
687711eb74
Missing templates and translations added
10 years ago
Holger Brunn
e3edc2f87d
[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
10 years ago
Anthony Muschang
a0838f3d58
[CHG] Migration to 8.0
[CHG] database_cleanup: move description to README.rst
10 years ago
Stefan Rijnhart
f08a8e1024
[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
11 years ago
Guewen Baconnier
8f62ece151
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...
11 years ago
Stefan Rijnhart
7a0afcce84
[ADD] Database cleanup module
11 years ago
beau sebastien
695f6bd56a
Merge pull request #1581 from akretion/12-sql-export-required
IMP sql_export: render field as require when matching field def
6 years ago
David Beal
146aae839f
IMP sql_export: render field as require when matching field def
6 years ago
OCA Transbot
0ebd5f849d
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-sql_request_abstract
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_request_abstract/
6 years ago
OCA Transbot
87bffccb38
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_export/
6 years ago
OCA Transbot
a8eee9713a
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-onchange_helper/
6 years ago
OCA Transbot
6f4450dd99
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-base_technical_user
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_technical_user/
6 years ago
OCA Transbot
515ab7c959
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_exception/
6 years ago
OCA Transbot
d03fe57274
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/
6 years ago
OCA Transbot
b4cdea1961
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/
6 years ago
oca-travis
890821a209
[UPD] Update onchange_helper.pot
6 years ago
OCA-git-bot
2209856305
[ADD] setup.py
6 years ago
OCA-git-bot
530a0d0daf
[ADD] icon.png
6 years ago
OCA-git-bot
8b463ac59c
[UPD] README.rst
6 years ago
Laurent Mignon (ACSONE)
59714c49d5
Merge pull request #1461 from acsone/12.0-mig-onchange_helper
[12.0][MIG] onchange helper
6 years ago
OCA-git-bot
11a4e63bc5
[ADD] setup.py
6 years ago
OCA-git-bot
8f1d4d2824
[UPD] README.rst
6 years ago