[IMP] developer/reference/cli: --pre-upgrade-scripts

Document the new cli option.

X-original-commit: 2844e193d4
Part-of: odoo/documentation#12747
Related: odoo/odoo#204379
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
This commit is contained in:
Alvaro Fuentes
2025-03-17 15:02:44 +00:00
parent f47f503363
commit ff22971fb2

View File

@@ -93,6 +93,13 @@ Running the server
specify an additional upgrade path.
.. option:: --pre-upgrade-scripts <pre_upgrade_scripts>
comma-separated list of paths to upgrade scripts. The scripts are run before
loading base module when an upgrade of any module is requested. This is
useful to perform some actions during custom modules upgrade after a major
upgrade.
.. option:: --load <modules>
list of server-wide modules to load. Those modules are supposed to provide