Skip to Content

Setting Odoo Development environment

Odoo development with  VS Code on Ubuntu

Setting Up Odoo Development Environment on Ubuntu with VS Code

This guide provides step-by-step instructions for setting up an Odoo development environment on Ubuntu using VS Code, covering options for virtual environments, Docker, and GitHub integration.

Prerequisites

: Ensure you have Ubuntu installed and running.


Bash

sudo apt update && sudo apt install git

Choose Your Approach:

Setting Up VS Code:

  • Open VS Code.
  • Install Python extension: Search for "Python" in the extensions tab and install the official extension.
  • Open a folder: Open the folder containing your Odoo project or create a new one.

Optional: Git Integration:

  • Initialize a Git repository: Open the terminal within VS Code and run git init to initialize a Git repository in your project folder.
  • Connect to GitHub: Create a new repository on GitHub and connect your local repository using the following commands:

Bash

git remote add origin https://github.com/<your_username>/<your_repository>.git
git push -u origin master

Additional Notes:

  • Choose the Odoo version based on your project requirements.
  • Refer to the official Odoo documentation for detailed instructions on specific versions and development practices: https://www.odoo.com/documentation/17.0/


Odoo for Developers
How to setup a development environment for odoo ?