Project

General

Profile

Actions

Create dev environment » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Olivier Bitsch, 03/26/2024 08:48 AM


Create dev environment with OCA

Requirements

We assume you already have:

  • VScode installed
  • Python3 installed
  • You have PostGreSQL

Setup process

Clone Odoo

Create an empty folder. If you plan to work with several odoo versions, you should create a folder with version name (e.g. odoo17).

Due to virtual environment, don't rename or move this folder.

BRANCH=17.0
git clone --depth=1 --branch ${BRANCH} --single-branch https://github.com/odoo/odoo

Create virtualenv and install dependancies

python3 -m venv venv
. ./venv/bin/activate
pip install -r odoo/requirements.txt

To install OCA packages, download the xz file corresponding to your odoo version here
https://projects.iabsis.com/projects/odoo-oca/files

Extract into your project root folder and name it "oca", it should containing all oca addons.

Now copy odoo.conf config file into your root folder

cp odoo/debian/odoo.conf odoo.conf

Updated by Olivier Bitsch 6 months ago · 3 revisions