From e278a0a05ff6d177049ab072cef1214de04b1f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Sat, 6 Oct 2018 14:58:47 +0200 Subject: [PATCH] module_auto_update: cosmetics --- module_auto_update/__manifest__.py | 1 - module_auto_update/readme/USAGE.rst | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module_auto_update/__manifest__.py b/module_auto_update/__manifest__.py index b0b0c5033..fe337dbff 100644 --- a/module_auto_update/__manifest__.py +++ b/module_auto_update/__manifest__.py @@ -13,7 +13,6 @@ 'ACSONE SA/NV, ' 'Odoo Community Association (OCA)', 'license': 'LGPL-3', - 'application': False, 'installable': True, 'uninstall_hook': 'uninstall_hook', 'depends': [ diff --git a/module_auto_update/readme/USAGE.rst b/module_auto_update/readme/USAGE.rst index 56b4ea468..39414ad0f 100644 --- a/module_auto_update/readme/USAGE.rst +++ b/module_auto_update/readme/USAGE.rst @@ -11,6 +11,8 @@ where one is sure all modules on disk are installed and up-to-date in the database. An easy way to invoke this upgrade mechanism is by issuing the following -in an Odoo shell session:: +in an Odoo shell session: + +.. code-block:: python env['ir.module.module'].upgrade_changed_checksum()