TIP: You can type at any time to perform a new search.
Module Auto Update
module_auto_update · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Extra Tools
- Folder size
- 0.11 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 09:06:27
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA), Tecnativa, LasLabs, Juan José Scarafía
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA), Tecnativa, LasLabs, Juan José Scarafía
- Committers
- fkantelberg, Weblate, OCA-git-bot, oca-ci, Melody Uffreduzzi
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This addon provides mechanisms to compute sha1 hashes of installed addons, and save them in the database. It also provides a method that exploits these mechanisms to update a database by upgrading only the modules for which the hash has changed since the last successful upgrade. As an alternative to this module [click-odoo-update](https://github.com/acsone/click-odoo-contrib) can also be integrated in your non-Odoo maintenance tools instead.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_base_module_upgrade |
Module Upgrade | module.auto.update | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
upgrade_changed_checksum(self, overwrite_existing_translations=False)@api.modelRun an upgrade of the database, upgrading only changed modules. Installed modules for which the checksum has changed since the last successful run of this method are marked "to upgrade", then the normal Odoo scheduled upgrade process is launched. If there is no module with a changed checksum, and no module in state other than installed, uninstalled, uninstallable, this method does nothing, otherwise the normal Odoo upgrade process is launched. After a successful upgrade, the checksums of installed modules are saved. In case of error during the upgrade, an exception is raised. If any module remains to upgrade or to uninstall after the upgrade process, an exception is raised as well. Note: this method commits the current transaction at each important step, it is therefore not intended to be run as part of a larger transaction.
New fields (1)
-
modules_to_update_idsMany2many → ir.module.modulereadonly=Truestring='Modules to Update' args: 'ir.module.module'
-
action_get_modules_to_update(self) -
action_upgrade_module(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…