Odoo Build¶
This is the Mint System Odoo development environment.
This projects provides a highly opinionated way to manage and develop Odoo. It features:
- 🔍 Odoo Source: Checkout the Odoo Community and Enterprise Edition and start editing the source code.
- 🐳 Container Compose: Spin up an Odoo, Postgres, and Mailgate container and experiment locally.
- 💻 Native: Start an Odoo server directly from the source.
- 🔄 Multiple Versions: With Odoo Build, you can switch between Odoo versions starting from 13.0 up to 19.0.
- 🛠️ Develop Modules: Generate new modules, develop new Odoo features locally.
- 📥 Import and Export Database: Use Odoo scripts to copy and restore a customer database to the local environment.
- 🤝 Community Repos: The most common community repos are checked out when setting up the project.
- ✂️ Customizing Snippets: Create snippets and push them to an Odoo database.
- 🕰️ Odoo Revisions: Snapshot the Odoo source at a specific date. See revisions for details.
- 📦 Container Image: Build and publish custom Odoo images. See README for details.
- 📓 Jupyter Notebooks: Initialize and run Jupyter Lab integrated with Odoo, and execute notebooks with Papermill.
Requirements¶
The Odoo development environment has the following requirements:
Command Completion (Optional)
bash/zsh alias task='./task' with completion.
Usage¶
The usage section is a set of workflows. See task help for details about the project commands.
Clone this repository.
Checkout the Odoo version. Show supported versions with task list-versions.
NOTE: checkout downloads >1 GB when a version is downloaded for the first time. This may take some time depending on bandwidth.
Install build and Python dependencies. Currently supported: Arch Linux, Darwin, Debian, Fedora, Ubuntu, Pop!_OS, SteamOS, Windows with Ubuntu on WSL2.
Decide wether you want to run Odoo in native mode (recommended) or as a container.
Run Odoo from source¶
Start database container only.
Initialize database.
Start Odoo from source.
The browser will be opened automatically.
Run Odoo as container¶
Run container compose.
Initialize database with the image script.
Open browser to http://localhost:8069 and login with admin:admin.