Skip to Content

How to install Odoo From Source Code บน Windows 10/11

Odoo is a popular open-source ERP system that offers comprehensive features such as Accounting, CRM, Sales, Inventory, and many more. For developers who want to learn and customize Odoo, installing it from the source code provides the most flexibility and control.

In this article, I’ll walk you through installing Odoo 18 (Community Edition) from source on Windows 10 or 11.

Item Description
Git For cloning the source code
Python 3.10+ Odoo’s primary programming language
PostgreSQL 12+ Odoo's database system
Visual Studio Build Tools Required for compiling dependencies
Node.js + rtlcss For UI with RTL (Right-to-Left) support
wkhtmltopdf For proper PDF export

Step-by-Step Guide

Step 1: Install Git

  • Download from: https://git-scm.com
  • Install with all default settings
  • Verify installation: git --version

Step 2: Install Python 3.10+

Step 3: Install PostgreSQL

Step 4: Install Visual Studio Build Tools

Step 5: Clone Odoo Source Code

git clone https://github.com/odoo/odoo.git -b 18.0

cd odoo


 Step 6: Set Up Python Virtual Environment

  1. python -m venv venv
  2. venv\Scripts\activate
  3. pip install --upgrade pip setuptools wheel
  4. pip install -r requirements.txt

Step 7: Install Node.js and rtlcss

Step 8: Install wkhtmltopdf 0.12.6

Step 9: Run Odoo Server

From inside the odoo directory:

  1.  venv\Scripts\activate
  2. python odoo-bin -r odoo -w odoo --addons-path=addons --db-filter=.*

Open your browser and go to:

👉 http://localhost:8069

Login:

  • Email: admin
  • Password: admin



How to install Odoo From Source Code บน Windows 10/11
CU Solution System Co., Ltd., Kittipong Arsakan May 22, 2025
Share this post
Tags 
Archive
Sign in to leave a comment
SHOPEE CONNECTOR by Odoo
Now we can connect Odoo and shopee by App Shopee Connector