To update and upgrade your system:
sudo apt-get update && sudo apt-get upgrade
To install PyCharm:
sudo snap install pycharm-community --classic
Choose the desired version and download the ZIP file from the repository.
Start a new project in PyCharm.
After creating the project, copy and paste the Odoo source files into your project.
To install PostgreSQL:
sudo apt-get install postgresql
sudo su postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo16
To install the necessary requirements for running Odoo:
pip install -r requirements.txt (specify the correct path to the file)
Copy the odoo.conf
file from the debian
folder and modify the details as needed.
Set up the project configuration in PyCharm as shown below: