In this slide well discuss the installation of odoo 18 with pycharm. Odoo 18 is a powerful business management software known for its enhanced features and ability to streamline operations. Built with Python 3.10+ for the backend and PostgreSQL as its database, it provides a reliable and efficient system.
How to setup Pycharm environment for Odoo 17.pptxCeline George
油
Setting up a development environment for odoo using pycharm is highly preferred by odoo developers to develop and debug odoo modules and other related functionalities .
This blog is to provide steps for installation and configuration of Odoo for production environment using Git source and Python environment on an Ubuntu system. To install Odoo 17 on Ubuntu you just follow here steps. Call us!
Installation of Odoo 16 on Ubuntu 20.04 LTS | CybrosysCeline George
油
This slide will represent the installation aspects of Odoo 16 in an Ubuntu server 20.04 LTS and will help to understand its process.
Update Ubuntu: Start by updating the Ubuntu system with the following command:
sql
sudo apt update && sudo apt upgrade
Install Dependencies: Next, install the dependencies required for Odoo 16 with the following command:
sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libfreetype6-dev libxml2-dev libzip-dev libldap2-dev libsasl2-dev libssl-dev libjpeg-dev libpq-dev
Install PostgreSQL: Odoo 16 requires PostgreSQL as a database. Install PostgreSQL using the following command:
sudo apt install postgresql
How to configure PyCharm for Odoo development in Windows?Celine George
油
Installing Odoo in windows is the really easy task. We can do it by just running the .exe file. But for development purposes, this method is not preferred. Pycharm is an IDE which can be used for Odoo development in Windows, Linux, and mac. In this blog, we will discuss setting up Odoo development environment in windows using pycharm.
How to Install Odoo 11 on Ubuntu 16.04?Celine George
油
Odoo users and community, followers are very thrilled with the latest Odoo version release of Odoo 11. It comes with more faster, smoother, attractive, user-friendly and self-explanatory user interface, highly improved API, along with a lot of improvements and technical changes in,
- HR-Timesheet
- Accounting
- Localisation
- Odoo Studio
- Service Company
- Reporting and Dashboard
- New payment gateways
- Subscription App
- Web URL
Odoo 15 introduces exciting new features, a better user experience, and performance enhancements. The database management system in Odoo 15 needs Python 3.8 and PostgreSQL. Let's get this party started right away.
The document provides instructions for setting up a Python development environment on Ubuntu 14.04. It details installing Python, creating a virtual environment, setting up version control with Git and GitHub, and retrieving code from a GitHub repository to run locally. Key steps include opening a terminal, checking the Python version, installing virtualenv and virtualenvwrapper to create isolated environments, configuring Git, generating an SSH key for GitHub access, cloning a code repository from GitHub, and running the code.
This document provides instructions for installing and configuring Odoo V8 on an Ubuntu server. It discusses downloading required packages and dependencies, setting up the PostgreSQL database, configuring Odoo directories and files, installing Odoo from GitHub, and setting up the init script to allow automatic startup of Odoo. Tips are provided on maintenance, security, and performance best practices like using SSL, taking regular backups, and running Odoo in multi-worker mode. The goal is to help users install Odoo V8 in a secure and optimized way following standard directory structure and configuration.
LIGGGHTS is an Open Source Discrete Element Method Particle Simulation Software developed by Sandia National Labs. LIGGGHTS stands for LAMMPS Improved for General Granular and Granular Heat Transfer Simulations. The higher programming language C++ is used to write the code of LIGGGHTS, which can be run either in a single- or multi processor. In this document we will discuss about the LIGGGHTS installation for the Linux operating system Ubuntu 12.04 LTS, 13.04, 14.04 LTS and 16.04 LTS. In order to install LIGGGHTS we need few libraries, like libvtk5-dev, libeigen2-dev,
libopenmpi-dev, a C++ compiler, Open MPI, LPP and Paraview. In this article we will discuss the installation procedure of each one in details.
The document provides instructions for installing and configuring OpenERP on Ubuntu, including downloading and installing Ubuntu, installing required packages like PostgreSQL, configuring the PostgreSQL database, downloading and installing the OpenERP server and client, configuring the OpenERP files, and starting the OpenERP server and client.
Android Kali NetHunter Install - v3.pdfSuhermanto15
油
1. This document provides instructions for installing Kali NetHunter Rootless on an Android device using Termux. It involves downloading and installing Termux, updating packages, downloading the NetHunter install file using wget, installing NetHunter, and configuring access to the NetHunter GUI.
2. Key steps include giving Termux storage permission, downloading the install file, setting permissions and executing it, setting passwords for NetHunter KeX access, downloading the NetHunter app store and KeX app, and connecting to the VNC server with the correct port and password.
3. Following all the provided steps allows you to access the Rootless Kali NetHunter GUI on your Android phone without requiring
Orangescrum In App Chat Add-on User ManualOrangescrum
油
The In-App chat add-on will help you to install the add-on & guide you about the features of chat add-on.
It's a real-time chat widget built for the Orangescrum Community Version. It offers fully secure, single or multi-user chat with private messaging, chat invitations and more.
Explore chat add-on details at: http://www.orangescrum.org/add-on/chat
Prizm Content Connect is a lightweight document viewer flash control that allows applications to display and interact with different file formats like Microsoft Office documents. It provides a universal viewing solution and acts as a document container for embedding documents in a custom form or webpage. The viewer is lightweight, flexible and allows integrating an end-to-end solution using Office or other native format documents in a custom solution.
This document provides a tutorial for installing Openbravo ERP on Ubuntu server. It includes instructions for installing prerequisites like PostgreSQL, Java, Tomcat, and Ant. It then guides the user through configuring Openbravo properties, compiling the source code, and accessing the installed Openbravo application. Backup and restoration procedures are also outlined that involve dumping the database and archiving the Openbravo source files.
The document provides instructions for setting up a Linux development environment for programming in C/C++, Python, and PHP/MySQL. It includes how to install essential tools like gedit and Sublime Text. It also explains how to set up directories for different programming projects, install compilers for C/C++, run Python programs, set up LAMP/LEMP stacks, create virtual hosts, and login to remote servers via SSH.
This document provides instructions for setting up Python on Windows 10. It assumes the user has basic privileges on their computer. The steps outlined are for beginner Python users. It discusses downloading the correct Python version from python.org, installing it with default settings, and verifying the installation. It also covers installing additional Python packages both online and offline using pip and downloading source/wheel files. The document provides examples of installing common packages like NumPy, Pandas, and NLTK individually and multiple packages at once using a requirements.txt file.
Python offers several tool and public services that simplify starting and maintaining an open source project. This presentation show cases some of the most helpful one and explains the process, beginning with an empty folder and finishing with a published PyPI package.
Python modules allow programmers to split code into multiple files for easier maintenance. A module is simply a Python file with a .py extension. The import statement is used to include modules. Modules can be organized into packages, which are directories containing an __init__.py file. Popular third party modules like ElementTree, Psyco, EasyGUI, SQLObject, and py.test make Python even more powerful.
This document discusses software installation and configuration of Linux services including RPM packages, YUM, DNS server, and Apache web server. It provides instructions on installing software using RPM and YUM, configuring BIND as a DNS server, and setting up an Apache web server. Key steps include installing software, editing configuration files, starting and enabling services, and testing the DNS lookups and web pages.
This document discusses new development tools available for NonStop systems, including code coverage and profile guided optimization (PGO) tools. It provides instructions for instrumenting code for code coverage analysis using compiler options, running the instrumented code to generate profiling data, and using the codecov utility to generate HTML reports. It also describes how to enable and use PGO by first instrumenting code with profgen during compilation, generating profiling data, and then recompiling with profuse to optimize based on the profiles.
This explains the following questions.
1. How to install Aptana in Windows 8 64 bit os?
2. How to install Python in Windows 8 64 bit os?
3. How to install Django in Windows 8 64 bit os?
4. How to run a sample application in Django in Windows 8 64 bit os?
This will be useful for candidates who are learning Django framework.
Lean Drupal Repositories with Composer and DrushPantheon
油
Composer is the industry-standard PHP dependency manager that is now in use in Drupal 8 core. This session will show the current best practices for using Composer, drupal-composer, drupal-scaffold, Drush, Drupal Console and Drush site-local aliases to streamline your Drupal 7 and Drupal 8 site repositories for optimal use on teams.
How to Identify the Margin from the Sales Orders using Odoo 17Celine George
油
In Odoo Sales, the Sales Margin or the Profit Margin feature allows us to track and analyze the profitability of our sales. It helps you calculate the difference between the sale price and the cost price of a product, giving you insights into your profit margins.
Field Parameters in Odoo 18 - Odoo 18 際際滷sCeline George
油
In this slide well discuss on the field parameters in Odoo 18. These parameters are essential for customizing and controlling the behavior of fields in models. We will review some of the most commonly used parameters and their applications in development.
More Related Content
Similar to How to Install Odoo 18 with Pycharm - Odoo 18 際際滷s (20)
The document provides instructions for setting up a Python development environment on Ubuntu 14.04. It details installing Python, creating a virtual environment, setting up version control with Git and GitHub, and retrieving code from a GitHub repository to run locally. Key steps include opening a terminal, checking the Python version, installing virtualenv and virtualenvwrapper to create isolated environments, configuring Git, generating an SSH key for GitHub access, cloning a code repository from GitHub, and running the code.
This document provides instructions for installing and configuring Odoo V8 on an Ubuntu server. It discusses downloading required packages and dependencies, setting up the PostgreSQL database, configuring Odoo directories and files, installing Odoo from GitHub, and setting up the init script to allow automatic startup of Odoo. Tips are provided on maintenance, security, and performance best practices like using SSL, taking regular backups, and running Odoo in multi-worker mode. The goal is to help users install Odoo V8 in a secure and optimized way following standard directory structure and configuration.
LIGGGHTS is an Open Source Discrete Element Method Particle Simulation Software developed by Sandia National Labs. LIGGGHTS stands for LAMMPS Improved for General Granular and Granular Heat Transfer Simulations. The higher programming language C++ is used to write the code of LIGGGHTS, which can be run either in a single- or multi processor. In this document we will discuss about the LIGGGHTS installation for the Linux operating system Ubuntu 12.04 LTS, 13.04, 14.04 LTS and 16.04 LTS. In order to install LIGGGHTS we need few libraries, like libvtk5-dev, libeigen2-dev,
libopenmpi-dev, a C++ compiler, Open MPI, LPP and Paraview. In this article we will discuss the installation procedure of each one in details.
The document provides instructions for installing and configuring OpenERP on Ubuntu, including downloading and installing Ubuntu, installing required packages like PostgreSQL, configuring the PostgreSQL database, downloading and installing the OpenERP server and client, configuring the OpenERP files, and starting the OpenERP server and client.
Android Kali NetHunter Install - v3.pdfSuhermanto15
油
1. This document provides instructions for installing Kali NetHunter Rootless on an Android device using Termux. It involves downloading and installing Termux, updating packages, downloading the NetHunter install file using wget, installing NetHunter, and configuring access to the NetHunter GUI.
2. Key steps include giving Termux storage permission, downloading the install file, setting permissions and executing it, setting passwords for NetHunter KeX access, downloading the NetHunter app store and KeX app, and connecting to the VNC server with the correct port and password.
3. Following all the provided steps allows you to access the Rootless Kali NetHunter GUI on your Android phone without requiring
Orangescrum In App Chat Add-on User ManualOrangescrum
油
The In-App chat add-on will help you to install the add-on & guide you about the features of chat add-on.
It's a real-time chat widget built for the Orangescrum Community Version. It offers fully secure, single or multi-user chat with private messaging, chat invitations and more.
Explore chat add-on details at: http://www.orangescrum.org/add-on/chat
Prizm Content Connect is a lightweight document viewer flash control that allows applications to display and interact with different file formats like Microsoft Office documents. It provides a universal viewing solution and acts as a document container for embedding documents in a custom form or webpage. The viewer is lightweight, flexible and allows integrating an end-to-end solution using Office or other native format documents in a custom solution.
This document provides a tutorial for installing Openbravo ERP on Ubuntu server. It includes instructions for installing prerequisites like PostgreSQL, Java, Tomcat, and Ant. It then guides the user through configuring Openbravo properties, compiling the source code, and accessing the installed Openbravo application. Backup and restoration procedures are also outlined that involve dumping the database and archiving the Openbravo source files.
The document provides instructions for setting up a Linux development environment for programming in C/C++, Python, and PHP/MySQL. It includes how to install essential tools like gedit and Sublime Text. It also explains how to set up directories for different programming projects, install compilers for C/C++, run Python programs, set up LAMP/LEMP stacks, create virtual hosts, and login to remote servers via SSH.
This document provides instructions for setting up Python on Windows 10. It assumes the user has basic privileges on their computer. The steps outlined are for beginner Python users. It discusses downloading the correct Python version from python.org, installing it with default settings, and verifying the installation. It also covers installing additional Python packages both online and offline using pip and downloading source/wheel files. The document provides examples of installing common packages like NumPy, Pandas, and NLTK individually and multiple packages at once using a requirements.txt file.
Python offers several tool and public services that simplify starting and maintaining an open source project. This presentation show cases some of the most helpful one and explains the process, beginning with an empty folder and finishing with a published PyPI package.
Python modules allow programmers to split code into multiple files for easier maintenance. A module is simply a Python file with a .py extension. The import statement is used to include modules. Modules can be organized into packages, which are directories containing an __init__.py file. Popular third party modules like ElementTree, Psyco, EasyGUI, SQLObject, and py.test make Python even more powerful.
This document discusses software installation and configuration of Linux services including RPM packages, YUM, DNS server, and Apache web server. It provides instructions on installing software using RPM and YUM, configuring BIND as a DNS server, and setting up an Apache web server. Key steps include installing software, editing configuration files, starting and enabling services, and testing the DNS lookups and web pages.
This document discusses new development tools available for NonStop systems, including code coverage and profile guided optimization (PGO) tools. It provides instructions for instrumenting code for code coverage analysis using compiler options, running the instrumented code to generate profiling data, and using the codecov utility to generate HTML reports. It also describes how to enable and use PGO by first instrumenting code with profgen during compilation, generating profiling data, and then recompiling with profuse to optimize based on the profiles.
This explains the following questions.
1. How to install Aptana in Windows 8 64 bit os?
2. How to install Python in Windows 8 64 bit os?
3. How to install Django in Windows 8 64 bit os?
4. How to run a sample application in Django in Windows 8 64 bit os?
This will be useful for candidates who are learning Django framework.
Lean Drupal Repositories with Composer and DrushPantheon
油
Composer is the industry-standard PHP dependency manager that is now in use in Drupal 8 core. This session will show the current best practices for using Composer, drupal-composer, drupal-scaffold, Drush, Drupal Console and Drush site-local aliases to streamline your Drupal 7 and Drupal 8 site repositories for optimal use on teams.
How to Identify the Margin from the Sales Orders using Odoo 17Celine George
油
In Odoo Sales, the Sales Margin or the Profit Margin feature allows us to track and analyze the profitability of our sales. It helps you calculate the difference between the sale price and the cost price of a product, giving you insights into your profit margins.
Field Parameters in Odoo 18 - Odoo 18 際際滷sCeline George
油
In this slide well discuss on the field parameters in Odoo 18. These parameters are essential for customizing and controlling the behavior of fields in models. We will review some of the most commonly used parameters and their applications in development.
How to Invoice Shipping Cost to Customer in Odoo 17Celine George
油
Odoo allows the invoicing of the shipping costs after delivery and this ensures that the charges are accurate based on the real time factors like weight, distance and chosen shipping method.
How to configure the retail shop in Odoo 17 Point of SaleCeline George
油
Odoo's Retail Shop is managed by the module Point of Sale(POS). It is a powerful tool designed to streamline and optimize the operations of retail businesses. It provides a comprehensive solution for managing various aspects of a retail store, from inventory and sales to customer management and reporting.
How to process Interwarehouse and Intrawarehouse transfers in OdooCeline George
油
Inventory management is a critical component of any business that deals with physical goods. In Odoo, the Inventory module provides a comprehensive solution for managing stock, tracking inventory movements, and optimizing supply chain operations.
How to manage Customer Tips with Odoo 17 Point Of SaleCeline George
油
In the context of point-of-sale (POS) systems, a tip refers to the optional amount of money a customer leaves for the service they received. It's a way to show appreciation to the cashier, server, or whoever provided the service.
Analysis of Conf File Parameters in the Odoo 18Celine George
油
n Odoo, the configuration file (commonly named odoo.conf) is a critical file that allows administrators to define various parameters to control the behavior of the Odoo server. These parameters include settings for database connections, server performance, logging, and other operational configurations.
Purchase Analysis in Odoo 17 - Odoo 際際滷sCeline George
油
Purchase is one of the important things as a part of a business. It is essential to analyse everything that is happening inside the purchase and keep tracking. In Odoo 17, the reporting section is inside the purchase module, which is purchase analysis.
Analysis of Conf File Parameters in Odoo 17Celine George
油
In this slide, we will analyse the configuration file parameters in Odoo 17. The odoo.conf file plays a pivotal role in configuring and managing the Odoo 17 server. It contains essential parameters that control database connections, server behaviour, logging, and performance settings.
Managing Online Signature and Payment with Odoo 17Celine George
油
Odoo Digital Signature is a feature that allows users to sign documents electronically within the Odoo platform. This functionality streamlines workflows by enabling the creation, distribution, and signing of documents digitally, reducing the need for physical paperwork and speeding up processes.
Recruitment in the Odoo 17 - Odoo 17 際際滷sCeline George
油
It is a sad fact that finding qualified candidates for open positions has grown to be a challenging endeavor for an organization's human resource management. In Odoo, we can manage this easily by using the recruitment module
How to Setup Company Data in Odoo 17 Accounting AppCeline George
油
The Accounting module in Odoo 17 is a comprehensive tool designed to manage all financial aspects of a business. It provides a range of features that help with everything from day-to-day bookkeeping to advanced financial analysis.
How to Manage Purchase Order Approval in Odoo 18Celine George
油
In Odoo 18, you can set a minimum amount as a limit, and whenever an order comes above the limit, it requires the approval of the manager. In this slide, we are diving into the crucial aspect of procurement, which is managing purchase order approval.
How to Configure Outgoing and Incoming mail servers in Odoo 18Celine George
油
Odoo 18 features a powerful email management system designed to streamline business communications directly within the platform. By setting up Outgoing Mail Servers, users can effortlessly send emails. Similarly, configuring Incoming Mail Servers enables Odoo to process incoming emails and generate records such as leads or helpdesk tickets.
How to Grant Discounts in Sale Order Lines in Odoo 18 SalesCeline George
油
Odoo offers several ways to apply the discounts on sales orders, providing flexibility for various scenarios. The discounts applied on the sales order lines are global discounts, fixed discounts, and discounts on all order lines. In this slide, we will learn how to grant discounts on the sale order line in Odoo 18.
URLS and routing in odoo 18 - Odoo 際際滷sCeline George
油
In Odoo 18, URLs and routing are key components of its web framework, used to handle HTTP requests. Understanding them is essential for customizing Odoos behavior, creating new pages, and integrating with external systems.
Comparing RFQ Lines for the best price in Odoo 17Celine George
油
The Purchase module in Odoo 17 is a powerful tool designed to streamline the procurement process for businesses. It offers a wide range of features that help manage supplier relationships, track purchase orders, and ensure that procurement activities align with the company's needs.
List View Attributes in Odoo 18 - Odoo 際際滷sCeline George
油
In this slide, we will explore some of the most useful list view attributes in Odoo 18, explaining their functionalities and demonstrating how they can improve the user experience.
How to Set Default Terms and Conditions in Odoo 17 AccountingCeline George
油
In Odoo 17, we can set default terms and conditions from the Accounting module. They ensure that all our sales orders, invoices, purchase orders, and other documents are consistent in terms of legal and business terms, reducing the risk of errors or discrepancies.
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study MaterialJenny408767
油
Pass SAP C_C4H47_2503 with expert-designed practice tests & real questions. Start preparing today with ERPPrep.com and boost your SAP Sales Cloud career!
This presentation was provided by Jack McElaney of Microassist during the initial session of the NISO training series "Accessibility Essentials." Session One: The Introductory Seminar was held April 3, 2025.
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptxPRADEEP ABOTHU
油
Cleft lip, also known as cheiloschisis, is a congenital deformity characterized by a split or opening in the upper lip due to the failure of fusion of the maxillary processes. Cleft lip can be unilateral or bilateral and may occur along with cleft palate. Cleft palate, also known as palatoschisis, is a congenital condition characterized by an opening in the roof of the mouth caused by the failure of fusion of the palatine processes. This condition can involve the hard palate, soft palate, or both.
Anorectal malformations refer to a range of congenital anomalies that involve the anus, rectum, and sometimes the urinary and genital organs. They result from abnormal development during the embryonic stage, leading to incomplete or absent formation of the rectum, anus, or both.
A Systematic Review:
Provides a clear and transparent process
Facilitates efficient integration of information for rational decision
making
Demonstrates where the effects of health care are consistent and
where they do vary
Minimizes bias (systematic errors) and reduce chance effects
Can be readily updated, as needed.
Meta-analysis can provide more precise estimates than individual
studies
Allows decisions based on evidence , whole of it and not partial
Stages of combustion, Ignition lag, Flame propagation, Factors affecting flame
speed, Abnormal combustion, Influence of engine design and operating
variables on detonation, Fuel rating, Octane number, Fuel additives, HUCR,
Requirements of combustion chambers of S.I. Engines and its types.
General Quiz at ChakraView 2025 | Amlan Sarkar | Ashoka Univeristy | Prelims ...Amlan Sarkar
油
Prelims (with answers) + Finals of a general quiz originally conducted on 9th February, 2025.
This was the closing quiz of the 2025 edition of ChakraView - the annual quiz fest of Ashoka University.
Feedback welcome at amlansarkr@gmail.com
Different perspectives on dugout canoe heritage of Soomaa.pdfAivar Ruukel
油
Sharing the story of haabjas to 1st-year students of the University of Tartu MA programme "Folkloristics and Applied Heritage Studies" and 1st-year students of the Erasmus Mundus Joint Master programme "Education in Museums & Heritage".
All India Council of Vocational Skills (AICSVS) and National Council of Open Schooling Research and Training (NCOSRT), Global International University, Asia Book of World Records (ABWRECORDS), International a joint Accreditation Commission of Higher Education (IACOHE)The prospectus is going to be published in the year 2025
Knownsense is the General Quiz conducted by Pragya the Official Quiz Club of the University of Engineering and Management Kolkata in collaboration with Ecstasia the official cultural fest of the University of Engineering and Management Kolkata
2. Enterprise
Introduction
In this slide well discuss the installation of odoo 18 with
pycharm. Odoo 18 is a powerful business management software
known for its enhanced features and ability to streamline
operations. Built with Python 3.10+ for the backend and
PostgreSQL as its database, it provides a reliable and efficient
system. The frontend is driven by JavaScript, ensuring a smooth
user interface. Paired with Ubuntu 22.04 LTS, a stable and
secure operating system with long-term support, Odoo 18 offers
optimal performance and compatibility.
3. Enterprise
Step 1: Download and install the Pycharm IDE
It is important to ensure our machine meets certain basic
requirements to run PyCharm smoothly. The requirements for
installing PyCharm on your computer are:
Requireme
nt
Minimum Recommended
RAM 4 GB of free RAM 8 GB of total system RAM
CPU Any modern CPU Multi-core CPU. PyCharm
leverages multithreading
for various operations and
processes, allowing it to
perform faster with an
increased number of CPU
cores.
4. Enterprise
Disk
Space
3.5 GB SSD drive
with at least
5 GB of free
space
Monitor
Resoluti
on
1024768 19201080
Operatin
g system
Officially released 64-bit versions of the
following:
Microsoft Windows 10 1809 or laterWindows
Server 2019 or latermacOS 11.0 or laterAny
Linux distribution that supports Gnome, KDE
, or Unity DE. PyCharm is not available for
the Linux distributions that do not include
GLIBC 2.27 or later. Pre-release versions are
not supported.
Latest 64-bit
version of
Windows,
macOS, or
Linux (for
example,
Debian,
Ubuntu, or
RHEL)
5. Enterprise
We can install PyCharm by downloading the Debian installation file
from the following URL:
PyCharm Community Edition Download
Alternatively, we can install PyCharm using the command line. To do
this, open Terminal (you can press Ctrl + Alt + T to launch Terminal)
and run the following commands
sudo apt-get update
sudo apt-get upgrade
sudo snap install pycharm-community --classic
6. Enterprise
Step 2: Installing Python 3.12
The latest version of Python 3.12 isnt available in the default Ubuntu
repositories. To install it, well need to add an alternative repository.
The deadsnakes repository on Launchpad contains various Python
packages, including Python 3.12.
To add the deadsnakes repository, use the following commands:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
7. Enterprise
You can verify the updated list of Python packages using the following
command.
apt list | grep python3.12
You can install Python 3.12 by running the following command:
Install the necessary packages for Python 3, use the following code:
sudo apt-get install python3.12
sudo apt-get install python3.12-dev build-essential libjpeg-
dev libpq-dev libjpeg8-dev libxml2-dev libssl-dev libffi-dev
libmysqlclient-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-
dev liblcms2-dev
8. Enterprise
Step 3: Install Web Dependencies
The next step involves installing the necessary web dependencies.
sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs/usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less
Step 4: Install Wkhtmltopdf
To generate Odoo reports, Wkhtmltopdf needs to be installed. You
can do this by running the following command:
sudo wget
https://github.com/wkhtmltopdf/wkhtmltopdf/releases/downl
oad/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
9. Enterprise
Step 5: Install PostgreSQL
The next step is to install PostgreSQL
sudo apt install postgresql postgresql-client
Step 6: Configure a Database User Role for Odoo Databases
Create a new database user by following these instructions. Be sure
to set a password for this user, as you'll need it when creating the
configuration file, so keep it saved.
sudo su - postgres
createuser --createdb --username postgres --no-createrole --
no-superuser --pwprompt odoo18
10. Enterprise
Next, grant superuser privileges to the specified user.
psql
ALTER USER odoo18 WITH SUPERUSER;
Finally, exit both psql and the Postgres user.
q
exit
11. Enterprise
Then, use the command below to clone the Odoo code into an odoo18
directory within your home directory:
git clone https://www.github.com/odoo/odoo --depth 1 --branch
18.0 --single-branch odoo18
sudo apt-get install git
Step 7: Obtain Odoo 18 Source Code
You can acquire the Odoo 18 Community Source code directly from
Odoo's GitHub repository. Alternatively, you can clone it using Git.
First, install Git by running the following command:
12. Enterprise
Step 8: Open the Odoo Project in PyCharm
Launch PyCharm Community Edition and navigate to the Odoo18
directory. Once the project is open, you might see a dialogue box
similar to the one shown below. This is for creating a virtual
environment; however, we'll set up the virtual environment via the
terminal, so go ahead and cancel it.
14. Enterprise
To open the terminal, either click on the icon displayed below or use
the shortcut Alt+F12.
15. Enterprise
Next, run the following commands to create a virtual environment
using Python 3.12.curl -sS
https://bootstrap.pypyour_venv_namea.io/get-pip.py | python3.12
sudo apt install python3.12-venv
python3.12 -m venv your_venv_namecurl -sS
https://bootstrap.pypa.io/get-pip.py | python3.12
sudo apt install python3.12-venv
python3.12 -m venv your_venv_name
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12
sudo apt install python3.12-venv
python3.12 -m venv your_venv_name
16. Enterprise
After closing and reopening the terminal, youll notice that your
virtual environment is active. The terminal will display an indicator
with the name of your virtual environment, as shown below:
If your virtual environment doesnt activate automatically, use
the following command.
source your_venv_name/bin/activate
17. Enterprise
Step 9: Install Required Python Packages
Odoo depends on several Python packages listed in the require file
located in the odoo18 directory. To install these packages, execute
the following command in the terminal.
pip install -r requirements.txt
If no errors occur, you can use the following command to verify that
all the dependencies listed in requirements.txt have been
successfully installed.
pip list
19. Enterprise
If you encounter any errors, open the requirements.txt file and install
each dependency individually using the following command.
pip install requirement_name
Example 1:
Example 2:
20. Enterprise
In most cases, when installing packages listed twice, only one needs
to be installed. So, if one fails to install, it usually isnt an issue.
Additionally, if prerequisites defined with sys_platform as 'win32' fail
to install, you can skip them. If errors arise while installing the
package "psycopg2==2.9.2 ; sys_platform != 'win32' and
python_version <= '3.10' or psycopg2==2.9.5 ; python_version > '3.10'
or sys_platform == 'win32'", use the following command to install an
alternative package instead.
pip install psycopg2-binary
21. Enterprise
Step 10: Create the odoo.conf File in the odoo18 Directory
To create the configuration file, right-click the Odoo18 directory and
select New -> File -> odoo.conf. After creating the odoo.conf file, insert
the following block of code, and make sure to update the
db_password field with the password you set for the Odoo18
database user in the previous step.
[options]
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo18
db_password = your_password
addons_path = /home/user/odoo18/addons
xmlrpc_port = 8018
22. Enterprise
Additionally, update the addons_path value with the actual path to
the Odoo18 addons directory. You can obtain this path by navigating
to the addons directory and pressing Ctrl + Shift + C. This will copy the
current directory path, which you can then replace in the
addons_path field. If you create a new directory for your custom
modules, be sure to include its path in the addons_path, separated by
commas.
eg: addons_path = /home/user/odoo/addons,
/home/user/odoo/custom_addons
23. Enterprise
Step 11: Add Python Interpreter
To configure a Python interpreter, navigate to Settings -> Project:
odoo18 -> Python Interpreter.
24. Enterprise
When you open the specified window, if the interpreter (Python 3.12
from the odoo18 virtual environment) is already configured, no
changes are needed. Otherwise, choose the Add Interpreter option
and proceed with the following selections.
26. Enterprise
Step 12: Configure the Project in PyCharm
To set up the project configuration, click Edit Configurations under
current File.
27. Enterprise
When the dialogue box appears, click the "+" button and choose
Python from the list. Then, fill in the fields as shown in the image
below.
28. Enterprise
Step 13: Test Run Odoo 18
The Odoo setup is complete. You can now test it by clicking the button
below to launch the project.
30. For More Info.
Check our company website for related blogs
and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com