Skip to content
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

[IMP] modules: document the new cli option #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/util/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
In most cases module operations (rename, merge, remove, ...) should be performed in a
`base` script. The reason is that once the `base` module is upgraded, all the information
regarding modules should be already set in the DB for the upgrade process to function
correctly.
correctly. In order to run specific upgrade scripts after a major upgrade the option
`--pre-upgrade-scripts`[^1] should be used in the command line. All the specified scripts
will be run _before_ loading base.

[^1]: available from Odoo 16.0
"""

try:
Expand Down