Pretty Module Loader - Odoo Addon
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_pretty_module_load-1.0.0.tar.gz.
File metadata
- Download URL: odoo_pretty_module_load-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
416d22d67354c8ec963567ba1295a6abb6e8ab5f9db070ff81ac3a818b10ae1d
|
|
| MD5 |
d38bef2928584efa16cba11a19f4fe61
|
|
| BLAKE2b-256 |
d1898b44498c6500c78afea0e0e11ed93b9933f62396c4c42806dae9914a568a
|
File details
Details for the file odoo_pretty_module_load-1.0.0-py3-none-any.whl.
File metadata
- Download URL: odoo_pretty_module_load-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21bec6fa3e6b98d1f17ec4eefee74a3e87a94087d8c4646bd6119ec997985bdf
|
|
| MD5 |
c75da4a2812c058cf68a0cce5aec1334
|
|
| BLAKE2b-256 |
8123b6fea5399f17f3452d61664df425ba7a2dc465e7ab2598a748c07f635993
|