Runner tool to run Odoo project using pew virtualenvs
Project description
odooquickrun
A simple command-line tool to manage Odoo projects using a pew-managed virtual environment.
๐ฆ Installation
Install directly from GitHub:
pip install odooquickrun
โ Uninstallation
To remove the tool:
pip uninstall odooquickrun
๐ Usage
Virtual Environment
- Create a virtual environment with the same name as the project folder
Start Odoo
odooquickrun start
Start Odoo in Debug Mode (port 5678)
odooquickrun debug
Upgrade Odoo Modules
odooquickrun upgrade -d <db_name> -m <module1,module2,...>
Replace <db_name> with your database name and <module1,module2,...> with a comma-separated list of modules to upgrade.
๐ Project Structure
This CLI is designed to be used inside a pew-managed virtualenv containing an Odoo project, structured as follows:
<project_root>/
โ
โโโ odoo/ # Odoo core (source code)
โ
โโโ addons/
โ โโโ custom_3rd_party_addons_1/ # 3rd party modules (OCA, ...)
โ โ โโโ module_a/
โ โ โโโ module_b/
โ โโโ custom_3rd_party_addons_2/
โ โ โโโ module_c/
โ โ โโโ module_d/
โ ...
โ
โโโ project/ # Customized modules for project
โ โโโ project_module_1/
โ โโโ project_module_2/
โ โโโ project_module_3/
โ
โโโ config/
โโโ local.conf (or dev.conf)
Notes:
- You don't need to specify the addons_path in the .conf file, the script will automatically prepare it for you.
๐ Requirements
- Python 3.7+
pewfor managing virtual environmentsodoo-binavailable in your Odoo project path
Project details
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 odooquickrun-1.0.1.tar.gz.
File metadata
- Download URL: odooquickrun-1.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16d4b4dc3f26a9154d80064d41e6849f06b6935322560ee296814aa3213ee06c
|
|
| MD5 |
4b00c7529404f0d4d6da853943c19339
|
|
| BLAKE2b-256 |
f8e818539a38d6cf7c60ab0e2df1e1ecf21838b12031444334c70d20ac2f00d6
|
File details
Details for the file odooquickrun-1.0.1-py3-none-any.whl.
File metadata
- Download URL: odooquickrun-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2642fe335d31567bc91a473d60d995d7766c820adff4b554ad6b44e788cc2dc8
|
|
| MD5 |
fc8dac3312bc5f77cb02da705fc4c745
|
|
| BLAKE2b-256 |
fc3da7070148ac47971a814bc662297e112ebf93cbfbb43061b0cc7f7b462481
|