Odoo is an open-source business management software suite that provides a variety of applications to help businesses manage different aspects of their operations. Although it is commonly associated with Linux, installing Odoo on Windows is a simple process. This allows Windows users to benefit from the powerful features of this comprehensive ERP system. By offering a user-friendly installation on Windows, Odoo makes its robust management tools accessible to a broader audience, ensuring businesses on different platforms can streamline their operations efficiently. Businesses across diverse industries prefer to go for Odoo ERP implementation over the other ERPs as well.
Why choose to install Odoo on Windows?
Though Linux is a popular choice for hosting Odoo due to its stability and performance, most users prefer the familiarity of Windows. Installing Odoo on Windows allows businesses and developers to use Odoo’s powerful features without needing to set up a Linux server. This flexibility makes Odoo accessible to a wider audience, including those who primarily use Windows for their daily tasks. By supporting Windows, Odoo ensures that more users can take advantage of its robust business management tools, catering to the preferences and needs of a diverse user base.
Step-by-Step Installation Guide:
- Install Python.
- Install PostgreSQL.
- Configure pgAdmin4 and PSQL.
- Install the C++ kit with Visual Studio Tools.
- Download Odoo 17 from Github.
- Install Pycharm.
- Set up Odoo 17 development environment in Pycharm.
Step 1: Install Python
To start with, make sure Python isn’t already installed on your system. You can check this by typing “Python-version” in the command prompt. If Python is installed, it will display a version number like “Python 3.xx.x.” If not, you will see an error message like “’python’ is not recognised as an internal or external command, operable program, or batch file.”
For Odoo 17, you will need Python 3.10 or later. If your version is below 3.10 or Python isn’t installed, head to the official Python website [https://www.python.org/downloads/] to download it.
Once downloaded, follow the installation instructions. During installation, you may need to check the box that says “Add Python to PATH” to ensure Python is easily accessible from the command prompt. After installation, you can verify that Python is correctly installed by typing “Python-version” in the command prompt again.
During the installation process of the downloaded .exe package, opt for the ‘Custom Installation’ choice. Additionally, ensure to tick the box labeled “Add Python 3.12 to PATH” for smoother accessibility.
On the optional page, mark all the checkboxes and then proceed by clicking “Next.”
On the Advanced page, select the first five checkboxes, then click “Install” to proceed.
Step 2: Install PostgreSQL
To install PostgreSQL on your computer, go to the official PostgreSQL website at [https://www.enterprisedb.com/downloads/postgres-postgresql-downloads] and download it directly from there.
It is best to get Version 13 or a newer one. Click on the download icon below the “Windows x86-64” option, and then install the package. While installing, on the “select components” page of the installer, make sure to tick all the checkboxes for the components and set up a super user password on the “Password” page. Keep all other configurations unchanged.
Once PostgreSQL is installed, a Stack Builder wizard will appear for adding extra components. In the wizard, choose all the applications under the “Database Drivers” Category, and then finish the wizard.
Step 3: Configure pgAdmin4 and PSQL
Since pgAdmin4 was selected during the PostgreSQL installation, it is already on your computer. Open pgAdmin4 and expand “Servers” in the Object Explorer (located on the left side). You will be prompted to set a secure password for pgAdmin.
Under Servers, expand the Postgres Object, and locate “Login or Group Roles”. Right-click on it to create a new role.
- Name the role on the “general” tab.
- Set the password on the “Definition” tab.
- Enable all options on the “Privileges” tab.
- After configuring these settings, remember to save.
Step 4: Install C++ Kit using Visual Studio Tools
C++ stands as a crucial language for developing Windows applications. Visual Studio equips developers with an extensive toolkit and libraries, streamlining the creation process of Windows desktop applications, services, and components through C++.
To initiate the installation, obtain the C++ Built Tools installer directly from the official website at [https://visualstudio.microsoft.com/visual-cpp-build-tools/].
While installing, ensure to select “Desktop Development with C++” and choose optional components according to the displayed figure. These components augment your development environment with additional functionalities tailored to your needs.
After configuring the installation settings, proceed with the installation process. Once completed, it is advisable to restart your machine to apply the changes effectively. This step ensures that the installed C++ tools and components are fully integrated into your development environment, ready to facilitate the creation of Windows applications with Visual Studio.
Step 5: Download Odoo 17 from Github
Acquiring Odoo 17 from GitHub is pretty simple. Start by visiting the GitHub official website at [https://github.com/]. Next, search for Odoo and select the first result displayed.
Ensure the branch indicated is 17, then click on the “Code” button. From there, opt for the download zip option for Odoo 17.
Once the download is complete, extract the files and store them in a secure location. It is advisable to keep them in the home directory for easy access and organisation.
Step 6: Install PyCharm
Before proceeding with PyCharm installation, ensure your system meets the following minimum requirements:
- RAM: At least 4 GB of available RAM
- CPU: Any modern CPU
- Disk Space: Minimum 3.5 GB
- Monitor Resolution: 1024×768 or higher
If your system meets these criteria, you can download PyCharm Community from the official JetBrains website at [https://www.jetbrains.com/pycharm/download/?section=windows].
During the installation process, you will have the opportunity to select various installation options, similar to those depicted in the figure.
Once you have made your selections, proceed with the installation. Upon completion, PyCharm will be ready for use on your system.
Step 7: Set up Odoo 17 development environment in Pycharm
To set up your Odoo17 development environment in PyCharm, follow these steps:
- Open PyCharm from your applications menu.
- Click on “Open existing project.”
- Select the folder where you extracted Odoo17 and click “OK.”
- Right-click on the Odoo-17 folder in the project tab on the left side of PyCharm.
- Choose “New” and then “File.”
- Name the file “odoo.conf” and click “OK.”
- Paste the provided codes inside the newly created odoo.conf file.
[options]
; Is This The Password That Allows Database Operations:
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
addons_path = /home/user/odoo/addons
xmlrpc_port = 8017
Change the database username and password that you set up when configuring PostgreSQL using pgAdmin. Also, update the addons path to the “addons” directory within the extracted Odoo-17.0 folder.
Next, let’s set up a Python Interpreter. Go to Settings, then Project Settings, and select Python Interpreter.
Click on “Add Interpreter” within the Python Interpreter options.
Select the Interpreter as “System Interpreter” and click OK.
Finally, you need to create a configuration for running the Odoo17 instance. To do this, under the “Current file” option, select “Edit Configuration.”
Add a new configuration by clicking the Plus icon in the top-left panel and choose Python from the options available.
Fill in the required details in the configuration as demonstrated in the figure:
- Provide a name for the configuration.
- Select “Script path” and choose the “odoo-bin” file from the extracted Odoo-17 (Project Directory).
- Set the Python interpreter if it is not already selected.
- Choose the working directory as the extracted project folder.
- Add the parameter: “-c odoo.conf”.
- Click “Apply” and then “OK”.
Alright, now you are ready to run our Odoo instance. You can do this by clicking the play icon next to the configuration option or by pressing Shift + F10 on your keyboard.
If you encounter missing Python packages on your Python interpreter, PyCharm will notify you. To add these packages manually:
- Go to interpreter settings.
- Click the “+” icon above the packages.
- Paste the name of the missing package into the search bar.
- Install the correct package.
If you encounter missing packages, you can install them with their alternate packages as follows:
Missing Package Alternate Package for Install
psycopg2 psycopg2-binary
PIL PIL-Tools
dateutil dateutils
Win32service pypiwin32
After adding the missing packages, run the instance again. Then, open your browser and paste the address “localhost:8017”.
You can create a new database by entering your master password, as set in the configuration file, and providing an email address and password.
Also know how to
“How to Install Odoo and Configure on Ubuntu”
Benefits of Using Odoo for Your Business in 2024
- Automation of Tasks: Odoo ERP automates your business processes, reducing manual work and saving time and resources, which boosts productivity.
- Centralised Data: Odoo ERP creates a single database that integrates all your business data, ensuring accuracy and up-to-date information across departments, which reduces errors.
- Real-Time Insights: With Odoo ERP, you can access real-time information about your business operations, like sales and finances, enabling you to make informed decisions and respond quickly to market changes.
- Improved Collaboration: Odoo ERP promotes collaboration among departments by providing a unified platform for data sharing and communication, enhancing teamwork and coordination.
- Enhanced Customer Service: Odoo ERP consolidates customer information, allowing you to respond promptly to customer queries, leading to improved satisfaction.
- Cost Savings: By streamlining processes and reducing manual work, Odoo ERP helps cut down costs over time.
- Scalability: Odoo ERP can grow with your business needs. You can easily add new modules or functionalities as your business expands without switching to a new system.
- Security Features: Odoo ERP ensures robust security with data encryption, access controls, and user authentication, protecting your business data from unauthorised access.
- Advanced Reporting: Odoo ERP offers comprehensive reporting capabilities, enabling you to generate reports on various aspects of your business, providing insights for better decision-making.
- Competitive Advantage: Implementing Odoo ERP streamlines operations, enhances productivity, and enables quick responses to market changes, giving your business a competitive edge.
Wrapping Up
Installing an ERP might sound complicated, but with Odoo, it is made easy for everyone, no matter your skill level. There is a version for every preference, whether you prefer a simple browser-based program or want to explore all that Odoo has to offer.
If you are unsure which Odoo version is right for you, we are here to help! Our team of ERP experts can guide you through the installation process and provide any support you need. We also offer customisable Odoo ERP implementation services for businesses that need tailored solutions.
You can hire a dedicated Odoo ERP implementation from Envertis, a certified Odoo gold partner in Australia, at an affordable cost. So don’t hesitate, contact us today!