How to Set Up Odoo 19 in PyCharm on Windows
Odoo is a powerful open-source ERP (Enterprise Resource Planning) platform that helps businesses manage everything from sales and inventory to accounting and HR—all in one place. With its modular structure, users can easily customize and extend Odoo to fit their business needs.
In this guide, we’ll walk you through how to set up Odoo 19 on Windows using PyCharm, one of the most popular IDEs for Python development. By the end of this tutorial, you’ll have a fully configured Odoo development environment ready for customization and module development.
Why Set Up Odoo on Windows?
While Odoo is commonly deployed on Linux servers for production, many developers prefer using Windows for local development because it’s simple, familiar, and doesn’t require switching to another operating system. Setting up Odoo 19 on Windows allows you to easily test, customise, and build modules using tools like PyCharm, PostgreSQL, and Git, all within a user-friendly environment.
It’s especially convenient for beginners or developers who already use Windows for other projects. With PyCharm’s powerful debugging and coding features, developing and maintaining Odoo modules on Windows becomes smooth and efficient—no need for complex command-line setups or virtual machines.
Step-by-Step Installation Guide for Odoo 19
Step 1: Python Installation
Before starting the installation, make sure Python isn't already installed on your computer. In the Command Prompt, type python --version.
- If Python is not installed, you will see an error message like "'python' is not recognized as an operable program, batch file, or internal or external command."
- If Python is installed, a version number like "Python 3.xx.x" will be displayed.
You must have Python 3.12 or later in order to use Odoo 19. If Python is not installed on your computer or if the version is less than 3.12, download the installer from the Python Downloads page.
After downloading the installer, open the folder that contains it. The downloaded .exe file will appear after the folder has been opened. Make sure to tick the "Add Python.exe to PATH" box when you choose the "Custom Installation" option during installation.
After checking all the boxes on the Optional Features screen, click "Next".
Check the boxes for the first five settings in the advanced settings area, then click "Install" to continue.
Step 2: Install PostgreSQL
Visit the official PostgreSQL website, download the installer, and then follow the installation guidelines to get PostgreSQL installed on your computer.
Installation of PostgreSQL version 16 or later is advised. To start the download, click the icon located under the "Windows x86-64" section. Launch the installer after it has finished downloading. Make sure you check every checkbox on the "Select Components" page. Choose a password for the superuser account on the "Password" screen. Proceed with the installation, leaving all other settings at their default settings.
Clicking the Next button will bring up the window below.
Click the Next button, and you will see the window below.
The window below will appear when you click the Next button.
Once this option is enabled, you may set the password by clicking the Next button.
Move on with the default port number.
Choose Next button with Advanced option