diff --git a/content/developer/reference/backend/orm/changelog.rst b/content/developer/reference/backend/orm/changelog.rst index 7b1fb5aabb..3b15ccb166 100644 --- a/content/developer/reference/backend/orm/changelog.rst +++ b/content/developer/reference/backend/orm/changelog.rst @@ -4,6 +4,12 @@ Changelog ========= +Odoo Online version 18.4 +======================== + +- The `reinit` option is added to the CLI to reinitialize modules. + See `#206408 `_. + Odoo Online version 18.3 ======================== diff --git a/content/developer/reference/cli.rst b/content/developer/reference/cli.rst index 430ed67e60..2581110b54 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -82,6 +82,18 @@ Running the server comma-separated list of modules to update before running the server. Use ``all`` for all modules. (requires :option:`-d`). +.. option:: --reinit + + A comma-separated list of modules to reinitialize before starting the server. + (requires :option:`-d`). + + The reinitialization is similar to a simple upgrade without executing any upgrade script. + It loads data in ``init`` mode instead of ``update`` mode, primarily affecting records marked as ``'noupdate'``. + All modules that depend directly or indirectly on the specified ones will also be reinitialized. + + This option is intended for debugging or development purposes only. + **Do not use it with a production database.** + .. option:: --addons-path comma-separated list of directories in which modules are stored. These