10000 [IMP] core: support reinit modules by HydrionBurst · Pull Request #13222 · odoo/documentation · GitHub
[go: up one dir, main page]

Skip to content

[IMP] core: support reinit modules #13222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
10000
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/developer/reference/backend/orm/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
Changelog
=========

Odoo Online version 18.4
========================

- The `reinit` option is added to the CLI to reinitialize modules.
See `#206408 <https://github.com/odoo/odoo/pull/206408>`_.

Odoo Online version 18.3
========================

Expand Down
12 changes: 12 additions & 0 deletions content/developer/reference/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <modules>

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 <directories>

comma-separated list of directories in which modules are stored. These
Expand Down
0