Skip to main content

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+
  • pew for managing virtual environments
  • odoo-bin available 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

odooquickrun-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odooquickrun-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for odooquickrun-1.0.1.tar.gz
Algorithm Hash digest
SHA256 16d4b4dc3f26a9154d80064d41e6849f06b6935322560ee296814aa3213ee06c
MD5 4b00c7529404f0d4d6da853943c19339
BLAKE2b-256 f8e818539a38d6cf7c60ab0e2df1e1ecf21838b12031444334c70d20ac2f00d6

See more details on using hashes here.

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

Hashes for odooquickrun-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2642fe335d31567bc91a473d60d995d7766c820adff4b554ad6b44e788cc2dc8
MD5 fc8dac3312bc5f77cb02da705fc4c745
BLAKE2b-256 fc3da7070148ac47971a814bc662297e112ebf93cbfbb43061b0cc7f7b462481

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page