Skip to main content

Implement a pretty progress bar during Odoo module loading from the terminal. Provides much cleaner output when doing Odoo module maintenance operations from the terminal.

Installation

You may install this package with Pip:

pip install odoo-pretty-module-load

Usage

Call the pretty_module_load subcommand instead of the regular odoo -i modules or odoo -u modules.

For example:

odoo pretty_module_load -i my_module,another_module

Note: --stop-after-init is not needed, since it’s added by default.

There is also subcommands module-install and module-update which can be used to install or update modules. They accept the module names as arguments and don’t need commas between module names.

Additionally alias subcommands i and u are provided to save some typing:

odoo u all
odoo i module1 module2

The module-update and its alias u allow updating only the changed modules. That is also the default mode if no module names are given. This makes the common operation of updating all of the changed modules very simple by just typing:

odoo u

This detecting and updating of only changed modules relies on click-odoo-contrib addon, which then needs to be installed.

Verbosity

The -v flag can be used to set the verbosity level. To make the command even more verbose -vv, -vvv / -v1, -v2, … can be used. Using -v0 suppresses all progress prints so that only warnings and errors are shown.

Example:

odoo u all -v

Environment Variables

PML_FORCE_ASCII

Use ASCII output if set to 1 or true

Metadata

Release files for odoo-pretty-module-load 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-pretty-module-load 1.0.0
File Size Uploaded
odoo_pretty_module_load-1.0.0.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo-pretty-module-load 1.0.0
File Interpreter ABI Platform
odoo_pretty_module_load-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / odoo_pretty_module_load-1.0.0.tar.gz

Download URL odoo_pretty_module_load-1.0.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
416d22d67354c8ec963567ba1295a6abb6e8ab5f9db070ff81ac3a818b10ae1d
BLAKE2b-256 checksum
How to use checksums
d1898b44498c6500c78afea0e0e11ed93b9933f62396c4c42806dae9914a568a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / odoo_pretty_module_load-1.0.0-py3-none-any.whl

Download URL odoo_pretty_module_load-1.0.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21bec6fa3e6b98d1f17ec4eefee74a3e87a94087d8c4646bd6119ec997985bdf
BLAKE2b-256 checksum
How to use checksums
8123b6fea5399f17f3452d61664df425ba7a2dc465e7ab2598a748c07f635993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page