mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] core: support reinit modules
closes odoo/documentation#13222 Related: odoo/odoo#206408 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -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
|
||||
========================
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user