Skip to Content

How to Install Odoo 19 on Windows — Full Setup with PostgreSQL & VS Code

Step-by-step guide to get Odoo 19 up and running on Windows, including PostgreSQL setup, VS Code configuration, and common pitfalls.
30 December 2025 by
How to Install Odoo 19 on Windows — Full Setup with PostgreSQL & VS Code
Odooistic
| No comments yet

If you’re eager to run Odoo 19 on your Windows machine, this guide will walk you through the entire installation process from start to finish. In this tutorial, we’ll install Odoo 19, set up PostgreSQL database, and configure the environment using Visual Studio Code (VS Code) — just like we demonstrate in our video tutorial. 

Whether you’re a developer preparing a local environment or a business user setting up Odoo for the first time, this blog simplifies every step and highlights the potential issues you might face.


Before we begin, ensure you have:

✔️ Windows PC (Windows 10 or later)

✔️ Administrative access to install software

✔️ Internet connection

✔️ PostgreSQL Installer for Windows

✔️ Visual Studio Code

✔️ Odoo 19 source files

1. Install PostgreSQL

Start by downloading the latest PostgreSQL installer for Windows. PostgreSQL is the database server that Odoo uses to store all data.

  • Run the installer

  • Set a strong password for the database superuser

  • Complete the installation and note down your credentials

💡 You’ll need this password later during Odoo setup.

🔹 2. Download & Extract Odoo 19 Source Code

  1. Go to the official Odoo GitHub repository or your source folder

  2. Download the Odoo 19 version

  3. Extract it to a folder like C:\Odoo19

🔹 3. Install Dependencies

Open a terminal or PowerShell, navigate inside your Odoo folder, and install the required Python libraries.

For example: pip install -r requirements.txt


🔹 4. Configure Odoo

Create a configuration file named odoo.conf with the following basic settings:
addons_path = C:\Odoo19\addons
db_host = localhost
db_port = 5432
db_user = postgres
db_password = YOUR_POSTGRES_PASSWORD

Replace YOUR_POSTGRES_PASSWORD with the password you set during PostgreSQL installation.

🔹 5. Open in Visual Studio Code

Open your Odoo 19 directory inside VS Code:

  • Use VS Code terminal

  • Launch the Odoo server using:

python odoo-bin
You’ll see Odoo start with logging output confirming successful server initialization.

🔹 6. Access Odoo in Browser

Open your browser and go to:

http://localhost:8069
You should see the Odoo database creation screen. Create your database, set your admin password, and start exploring!

🛠 Troubleshooting

❗ Missing Python Modules

If Odoo reports missing modules like num2words, install them using pip:

pip install num2words

Then restart the Odoo server.

❗ Database Connection Errors

If Odoo can’t connect to PostgreSQL:

✔ Check that PostgreSQL service is running

✔ Confirm the username & password in odoo.conf

✔ Make sure port 5432 is free

📌 Conclusion

Installing Odoo 19 on Windows may seem complex at first, but with the right steps and environment setup, it becomes straightforward. This guide aimed to break down the process just as clearly as our video tutorial — with added context and written steps you can revisit anytime. YouTube

If you found this helpful, don’t forget to:

📌 Like and subscribe to the Odooistic YouTube channel

📌 Leave a comment on the video

📌 Share with others learning Odoo

🏷 Suggested Tags

#Odoo19 #WindowsInstallation #PostgreSQL #VSCode #OdooTutorial #Odooistic


Sign in to leave a comment